You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2021/12/16 02:01:15 UTC

[dolphinscheduler-website] branch master updated: Update data source center doc in user guide (#577)

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

zhongjiajie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 753822d  Update data source center doc in user guide (#577)
753822d is described below

commit 753822df183bd970b551a80f99382ad22c6a916a
Author: mask <39...@users.noreply.github.com>
AuthorDate: Thu Dec 16 10:01:08 2021 +0800

    Update data source center doc in user guide (#577)
    
    * Update data source center doc in user guide
    * Update docs/zh-cn/dev/user_doc/guide/datasource/hive.md
    
    Co-authored-by: Jiajie Zhong <zh...@gmail.com>
---
 docs/en-us/dev/user_doc/guide/datasource/hive.md | 17 +++++++++++++----
 docs/zh-cn/dev/user_doc/guide/datasource/hive.md | 21 +++++++++++++++++----
 2 files changed, 30 insertions(+), 8 deletions(-)

diff --git a/docs/en-us/dev/user_doc/guide/datasource/hive.md b/docs/en-us/dev/user_doc/guide/datasource/hive.md
index d8f8ab5..38ccd95 100644
--- a/docs/en-us/dev/user_doc/guide/datasource/hive.md
+++ b/docs/en-us/dev/user_doc/guide/datasource/hive.md
@@ -21,9 +21,18 @@
  <p align="center">
     <img src="/img/hive1-en.png" width="80%" />
   </p>
+Note: If Kerberos is not enabled, ensure that the parameter `hadoop.security.authentication.startup.state`. The state value is `false`, Parameter `java.security.krb5.conf.path` value is null or empty If **Kerberos** is enabled, it needs to be in common Properties configure the following parameters
 
-Note: If you enable **kerberos**, you need to fill in **Principal**
+```conf
+# whether to startup kerberos
+hadoop.security.authentication.startup.state=true
 
-<p align="center">
-    <img src="/img/hive-en.png" width="80%" />
-  </p>
+# java.security.krb5.conf path
+java.security.krb5.conf.path=/opt/krb5.conf
+
+# login user from keytab username
+login.user.keytab.username=hdfs-mycluster@ESZ.COM
+
+# login user from keytab path
+login.user.keytab.path=/opt/hdfs.headless.keytab
+```
\ No newline at end of file
diff --git a/docs/zh-cn/dev/user_doc/guide/datasource/hive.md b/docs/zh-cn/dev/user_doc/guide/datasource/hive.md
index ed1e4cb..59c3c23 100644
--- a/docs/zh-cn/dev/user_doc/guide/datasource/hive.md
+++ b/docs/zh-cn/dev/user_doc/guide/datasource/hive.md
@@ -23,7 +23,20 @@
   </p>
 
 
-注意:如果开启了**kerberos**,则需要填写 **Principal**
-<p align="center">
-    <img src="/img/hive_kerberos.png" width="80%" />
-  </p>
+注意:如果没有开启kerberos,请保证参数 `hadoop.security.authentication.startup.state` 值为 `false`,
+参数 `java.security.krb5.conf.path` 值为空. 开启了**kerberos**,则需要在 `common.properties` 配置以下参数
+
+```conf
+# whether to startup kerberos
+hadoop.security.authentication.startup.state=true
+
+# java.security.krb5.conf path
+java.security.krb5.conf.path=/opt/krb5.conf
+
+# login user from keytab username
+login.user.keytab.username=hdfs-mycluster@ESZ.COM
+
+# login user from keytab path
+login.user.keytab.path=/opt/hdfs.headless.keytab
+```
+