Skip to content

Commit

Permalink
update README / add ssential libraries for Flink 1.19.1 and example o…
Browse files Browse the repository at this point in the history
…f hive-config.xml (#2)

* update README

* update README

* update README
  • Loading branch information
maciejmacq-dev authored Nov 14, 2024
1 parent 6f3d956 commit 73200c1
Showing 1 changed file with 51 additions and 1 deletion.
52 changes: 51 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,54 @@ To install hive-metastore:
```
helm repo add getindata-hms https://getindata.github.io/hive-metastore
helm install hms getindata-hms/hive-metastore
```
```
Essential libraries for Flink 1.19.1
(/opt/flink/lib)

- https://repo1.maven.org/maven2/org/apache/thrift/libfb303/0.9.3/libfb303-0.9.3.jar
- https://repo1.maven.org/maven2/org/apache/hive/hive-exec/3.1.0/hive-exec-3.1.3.jar
- https://repository.cloudera.com/artifactory/cloudera-repos/org/apache/flink/flink-shaded-hadoop-3-uber/3.1.1.7.0.3.0-79-7.0/flink-shaded-hadoop-3-uber-3.1.1.7.0.3.0-79-7.0.jar
- https://repo1.maven.org/maven2/org/apache/flink/flink-connector-hive_2.12/1.19.1/flink-connector-hive_2.12-1.19.1.jar
- https://repo1.maven.org/maven2/commons-cli/commons-cli/1.4/commons-cli-1.4.jar

Example hive-site.xml
```
<configuration>
<!-- PostgreSQL connection details -->
<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:postgresql://postgres-postgresql:5432/metastore</value>
<description>Metadata is stored in a PostgreSQL server</description>
</property>
<property>
<name>javax.jdo.option.ConnectionDriverName</name>
<value>org.postgresql.Driver</value>
<description>PostgreSQL JDBC driver class</description>
</property>
<property>
<name>javax.jdo.option.ConnectionUserName</name>
<value>admin</value>
<description>Username for connecting to the PostgreSQL server</description>
</property>
<property>
<name>javax.jdo.option.ConnectionPassword</name>
<value>pass</value>
<description>Password for connecting to the PostgreSQL server</description>
</property>
<!-- Hive Metastore service details -->
<property>
<name>hive.metastore.uris</name>
<value>thrift://hms-hive-metastore:9083</value>
<description>IP address (or fully-qualified domain name) and port of the metastore host</description>
</property>
<property>
<name>hive.metastore.schema.verification</name>
<value>true</value>
</property>
</configuration>
```

0 comments on commit 73200c1

Please sign in to comment.