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 d9059ef070 [Docs](multi-catalog) add `yarn.resourcemanager.principal` 
for hive catalog with kerberos enabled. (#17930)
d9059ef070 is described below

commit d9059ef0701f4df0d558a17d056f061d0d6a3a9e
Author: Xiangyu Wang <[email protected]>
AuthorDate: Wed Mar 22 23:34:33 2023 +0800

    [Docs](multi-catalog) add `yarn.resourcemanager.principal` for hive catalog 
with kerberos enabled. (#17930)
    
    Co-authored-by: [email protected] <[email protected]>
---
 docs/en/docs/lakehouse/multi-catalog/hive.md    | 3 ++-
 docs/zh-CN/docs/lakehouse/multi-catalog/hive.md | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/en/docs/lakehouse/multi-catalog/hive.md 
b/docs/en/docs/lakehouse/multi-catalog/hive.md
index 0861357e01..4f6d6bb582 100644
--- a/docs/en/docs/lakehouse/multi-catalog/hive.md
+++ b/docs/en/docs/lakehouse/multi-catalog/hive.md
@@ -78,6 +78,7 @@ CREATE CATALOG hive PROPERTIES (
     'type'='hms',
     'hive.metastore.uris' = 'thrift://172.21.0.1:7004',
     'hive.metastore.sasl.enabled' = 'true',
+    'hive.metastore.kerberos.principal' = 'your-hms-principal',
     'dfs.nameservices'='your-nameservice',
     'dfs.namenode.rpc-address.your-nameservice.nn1'='172.21.0.2:4007',
     'dfs.namenode.rpc-address.your-nameservice.nn2'='172.21.0.3:4007',
@@ -85,7 +86,7 @@ CREATE CATALOG hive PROPERTIES (
     'hadoop.security.authentication' = 'kerberos',
     'hadoop.kerberos.keytab' = '/your-keytab-filepath/your.keytab',   
     'hadoop.kerberos.principal' = '[email protected]',
-    'hive.metastore.kerberos.principal' = 'your-hms-principal'
+    'yarn.resourcemanager.principal' = 'your-rm-principal'
 );
 ```
 
diff --git a/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md 
b/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md
index db90f24435..f87d8cb95d 100644
--- a/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md
+++ b/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md
@@ -76,6 +76,7 @@ CREATE CATALOG hive PROPERTIES (
     'type'='hms',
     'hive.metastore.uris' = 'thrift://172.21.0.1:7004',
     'hive.metastore.sasl.enabled' = 'true',
+    'hive.metastore.kerberos.principal' = 'your-hms-principal',
     'dfs.nameservices'='your-nameservice',
     'dfs.namenode.rpc-address.your-nameservice.nn1'='172.21.0.2:4007',
     'dfs.namenode.rpc-address.your-nameservice.nn2'='172.21.0.3:4007',
@@ -83,7 +84,7 @@ CREATE CATALOG hive PROPERTIES (
     'hadoop.security.authentication' = 'kerberos',
     'hadoop.kerberos.keytab' = '/your-keytab-filepath/your.keytab',   
     'hadoop.kerberos.principal' = '[email protected]',
-    'hive.metastore.kerberos.principal' = 'your-hms-principal'
+    'yarn.resourcemanager.principal' = 'your-rm-principal'
 );
 ```
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to