This is an automated email from the ASF dual-hosted git repository. lzljs3620320 pushed a commit to branch release-0.5 in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git
commit f03a5bee17f9b1993314fb37b4746a362980a782 Author: Jingsong <[email protected]> AuthorDate: Thu Aug 24 23:02:52 2023 +0800 [doc] Document more hadoop-conf-dir --- docs/content/api/java-api.md | 1 + docs/content/engines/hive.md | 1 + docs/content/how-to/creating-catalogs.md | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/content/api/java-api.md b/docs/content/api/java-api.md index 9ddfcc0f4..ed72d6b01 100644 --- a/docs/content/api/java-api.md +++ b/docs/content/api/java-api.md @@ -70,6 +70,7 @@ public class CreateCatalog { options.set("metastore", "hive"); options.set("uri", "..."); options.set("hive-conf-dir", "..."); + options.set("hadoop-conf-dir", "..."); CatalogContext context = CatalogContext.create(options); Catalog catalog = CatalogFactory.createCatalog(context); } diff --git a/docs/content/engines/hive.md b/docs/content/engines/hive.md index 16866e06e..2de5aee30 100644 --- a/docs/content/engines/hive.md +++ b/docs/content/engines/hive.md @@ -102,6 +102,7 @@ CREATE CATALOG my_hive WITH ( 'metastore' = 'hive', 'uri' = 'thrift://<hive-metastore-host-name>:<port>', -- 'hive-conf-dir' = '...', this is recommended in the kerberos environment + -- 'hadoop-conf-dir' = '...', this is recommended in the kerberos environment 'warehouse' = 'hdfs:///path/to/table/store/warehouse' ); diff --git a/docs/content/how-to/creating-catalogs.md b/docs/content/how-to/creating-catalogs.md index d76832caa..11f2d7925 100644 --- a/docs/content/how-to/creating-catalogs.md +++ b/docs/content/how-to/creating-catalogs.md @@ -90,7 +90,9 @@ Paimon Hive catalog in Flink relies on Flink Hive connector bundled jar. You sho The following Flink SQL registers and uses a Paimon Hive catalog named `my_hive`. Metadata and table files are stored under `hdfs:///path/to/warehouse`. In addition, metadata is also stored in Hive metastore. -If your Hive requires security authentication such as Kerberos, LDAP, Ranger or you want the paimon table to be managed by Apache Atlas(Setting 'hive.metastore.event.listeners' in hive-site.xml). You can specify the hive-conf-dir parameter to the hive-site.xml file path. +If your Hive requires security authentication such as Kerberos, LDAP, Ranger or you want the paimon table to be managed +by Apache Atlas(Setting 'hive.metastore.event.listeners' in hive-site.xml). You can specify the hive-conf-dir and +hadoop-conf-dir parameter to the hive-site.xml file path. ```sql CREATE CATALOG my_hive WITH ( @@ -98,6 +100,7 @@ CREATE CATALOG my_hive WITH ( 'metastore' = 'hive', 'uri' = 'thrift://<hive-metastore-host-name>:<port>', -- 'hive-conf-dir' = '...', this is recommended in the kerberos environment + -- 'hadoop-conf-dir' = '...', this is recommended in the kerberos environment 'warehouse' = 'hdfs:///path/to/warehouse' );
