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

morningman 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 4230b8c36ca [doc](hive) fix hive.version doc (#26806)
4230b8c36ca is described below

commit 4230b8c36cac9636199eebb7c0adf82ee176b46e
Author: Mingyu Chen <morning...@163.com>
AuthorDate: Sun Nov 12 19:38:12 2023 +0800

    [doc](hive) fix hive.version doc (#26806)
---
 docs/en/docs/lakehouse/multi-catalog/hive.md    | 6 +++++-
 docs/zh-CN/docs/lakehouse/multi-catalog/hive.md | 8 +++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/docs/en/docs/lakehouse/multi-catalog/hive.md 
b/docs/en/docs/lakehouse/multi-catalog/hive.md
index 4724d0e903b..53180c051a0 100644
--- a/docs/en/docs/lakehouse/multi-catalog/hive.md
+++ b/docs/en/docs/lakehouse/multi-catalog/hive.md
@@ -362,7 +362,11 @@ We need to change to
 
 ## Hive Version
 
-Doris can correctly access the Hive Metastore in different Hive versions. By 
default, Doris will access the Hive Metastore with a Hive 2.3 compatible 
interface. You can also specify the hive version when creating the Catalog. If 
accessing Hive 1.1.0 version:
+Doris can correctly access the Hive Metastore in different Hive versions. By 
default, Doris will access the Hive Metastore with a Hive 2.3 compatible 
interface.
+
+If you meet error message like `Invalid method name: 'get_table_req'`, which 
means the hive version is mismatch.
+
+You can specify the hive version when creating the Catalog. If accessing Hive 
1.1.0 version:
 
 ```sql 
 CREATE CATALOG hive PROPERTIES (
diff --git a/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md 
b/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md
index 09fbe4b2178..8ce82008823 100644
--- a/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md
+++ b/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md
@@ -338,10 +338,16 @@ CREATE CATALOG hive PROPERTIES (
 <property>
     <name>metastore.transactional.event.listeners</name>
     <value>org.apache.hive.hcatalog.listener.DbNotificationListener</value>
+</property>
+```
 
 ## Hive 版本
 
-Doris 可以正确访问不同 Hive 版本中的 Hive Metastore。在默认情况下,Doris 会以 Hive 2.3 版本的兼容接口访问 
Hive Metastore。你也可以在创建 Catalog 时指定 hive 的版本。如访问 Hive 1.1.0 版本:
+Doris 可以正确访问不同 Hive 版本中的 Hive Metastore。在默认情况下,Doris 会以 Hive 2.3 版本的兼容接口访问 
Hive Metastore。
+
+如在查询时遇到如 `Invalid method name: 'get_table_req'` 类似错误,说明 hive 版本不匹配。
+
+你可以在创建 Catalog 时指定 hive 的版本。如访问 Hive 1.1.0 版本:
 
 ```sql 
 CREATE CATALOG hive PROPERTIES (


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

Reply via email to