You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by bi...@apache.org on 2017/11/06 14:52:10 UTC

kylin git commit: KYLIN-2934 Write user guide for KYLIN-2656

Repository: kylin
Updated Branches:
  refs/heads/document ab422decd -> 16b3809b2


KYLIN-2934 Write user guide for KYLIN-2656

Signed-off-by: Billy Liu <bi...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/16b3809b
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/16b3809b
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/16b3809b

Branch: refs/heads/document
Commit: 16b3809b2352dc10772e1fea7589f30b662ab698
Parents: ab422de
Author: peng.jianhua <pe...@zte.com.cn>
Authored: Tue Oct 24 20:16:39 2017 +0800
Committer: Billy Liu <bi...@apache.org>
Committed: Mon Nov 6 22:51:06 2017 +0800

----------------------------------------------------------------------
 website/_data/docs21.yml                        |  3 ++-
 .../_docs21/howto/howto_enable_zookeeper_acl.md | 20 ++++++++++++++++++++
 .../howto/howto_install_ranger_kylin_plugin.md  |  2 +-
 3 files changed, 23 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/16b3809b/website/_data/docs21.yml
----------------------------------------------------------------------
diff --git a/website/_data/docs21.yml b/website/_data/docs21.yml
index e438ee5..a88c339 100644
--- a/website/_data/docs21.yml
+++ b/website/_data/docs21.yml
@@ -70,4 +70,5 @@
   - howto/howto_ldap_and_sso
   - howto/howto_use_beeline
   - howto/howto_update_coprocessor
-  - howto_install_ranger_kylin_plugin
+  - howto/howto_install_ranger_kylin_plugin
+  - howto/howto_enable_zookeeper_acl

http://git-wip-us.apache.org/repos/asf/kylin/blob/16b3809b/website/_docs21/howto/howto_enable_zookeeper_acl.md
----------------------------------------------------------------------
diff --git a/website/_docs21/howto/howto_enable_zookeeper_acl.md b/website/_docs21/howto/howto_enable_zookeeper_acl.md
new file mode 100644
index 0000000..2d6cb13
--- /dev/null
+++ b/website/_docs21/howto/howto_enable_zookeeper_acl.md
@@ -0,0 +1,20 @@
+---
+layout: docs21
+title:  Enable zookeeper acl
+categories: howto
+permalink: /docs21/howto/howto_enable_zookeeper_acl.html
+---
+
+Edit $KYLIN_HOME/conf/kylin.properties to add following configuration item:
+
+* Add "kylin.env.zookeeper.zk-auth". It is the configuration item you can specify the zookeeper authenticated information. Its formats is "scheme:id". The value of scheme that the zookeeper supports is "world", "auth", "digest", "ip" or "super". The "id" is the authenticated information of the scheme. For example:
+
+    `kylin.env.zookeeper.zk-auth=digest:ADMIN:KYLIN`
+
+    The scheme equals to "digest". The id equals to "ADMIN:KYLIN", which expresses the "username:password".
+
+* Add "kylin.env.zookeeper.zk-acl". It is the configuration item you can set access permission. Its formats is "scheme:id:permissions". The value of permissions that the zookeeper supports is "READ", "WRITE", "CREATE", "DELETE" or "ADMIN". For example, we configure that everyone has all the permissions:
+
+    `kylin.env.zookeeper.zk-acl=world:anyone:rwcda`
+
+    The scheme equals to "world". The id equals to "anyone" and the permissions equals to "rwcda".
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/kylin/blob/16b3809b/website/_docs21/howto/howto_install_ranger_kylin_plugin.md
----------------------------------------------------------------------
diff --git a/website/_docs21/howto/howto_install_ranger_kylin_plugin.md b/website/_docs21/howto/howto_install_ranger_kylin_plugin.md
index 7d6c031..530f914 100644
--- a/website/_docs21/howto/howto_install_ranger_kylin_plugin.md
+++ b/website/_docs21/howto/howto_install_ranger_kylin_plugin.md
@@ -2,7 +2,7 @@
 layout: docs21
 title:  The Ranger Kylin Plugin Installation Guide
 categories: howto
-permalink: /docs21/howto_install_ranger_kylin_plugin.html
+permalink: /docs21/howto/howto_install_ranger_kylin_plugin.html
 ---
 
 Please refer to [https://cwiki.apache.org/confluence/display/RANGER/Kylin+Plugin](https://cwiki.apache.org/confluence/display/RANGER/Kylin+Plugin).
\ No newline at end of file