This is an automated email from the ASF dual-hosted git repository.

luzhijing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new ffe27baeaf [FAQ](docs) add a FAQ about hive catalog occurring 
UnknownHostException (#19182)
ffe27baeaf is described below

commit ffe27baeaf6077bc5f1af73bcee43a14015611d3
Author: yagagagaga <zhangminkefromflyd...@gmail.com>
AuthorDate: Fri Apr 28 13:50:24 2023 +0800

    [FAQ](docs) add a FAQ about hive catalog occurring UnknownHostException 
(#19182)
    
    [FAQ](docs) add a FAQ about hive catalog occurring UnknownHostException 
(#19182)
---
 docs/en/docs/lakehouse/multi-catalog/faq.md    | 7 +++++++
 docs/zh-CN/docs/lakehouse/multi-catalog/faq.md | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/docs/en/docs/lakehouse/multi-catalog/faq.md 
b/docs/en/docs/lakehouse/multi-catalog/faq.md
index 0c33ade18a..9ec3f3ffbc 100644
--- a/docs/en/docs/lakehouse/multi-catalog/faq.md
+++ b/docs/en/docs/lakehouse/multi-catalog/faq.md
@@ -102,3 +102,10 @@ under the License.
     If both `show databases` and `show tables` are OK, and the above error 
occurs when querying, we need to perform the following two operations:
     - Core-site.xml and hdfs-site.xml need to be placed in the fe/conf and 
be/conf directories
     - The BE node executes the kinit of Kerberos, restarts the BE, and then 
executes the query.
+
+11. If the `show tables` is normal after creating the Hive Catalog, but the 
query report `java.net.UnknownHostException: xxxxx`
+
+    Add a property in CATALOG:
+    ```
+    'fs.defaultFS' = 'hdfs://<your_nameservice_or_actually_HDFS_IP_and_port>'
+    ```
diff --git a/docs/zh-CN/docs/lakehouse/multi-catalog/faq.md 
b/docs/zh-CN/docs/lakehouse/multi-catalog/faq.md
index c0c84080c0..2a0b6eeb69 100644
--- a/docs/zh-CN/docs/lakehouse/multi-catalog/faq.md
+++ b/docs/zh-CN/docs/lakehouse/multi-catalog/faq.md
@@ -103,3 +103,10 @@ under the License.
 - fe/conf、be/conf 目录下需放置 core-site.xml 和 hdfs-site.xml
    - BE 节点执行 Kerberos 的 kinit 然后重启 BE ,然后再去执行查询即可.
 
+
+11. 如果创建 Hive Catalog 后能正常`show tables`,但查询时报`java.net.UnknownHostException: 
xxxxx`
+
+    可以在 CATALOG 的 PROPERTIES 中添加
+    ```
+    'fs.defaultFS' = 'hdfs://<your_nameservice_or_actually_HDFS_IP_and_port>'
+    ```


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to