From b06b2ccd4280bf27de47c3b647290722c1489090 Mon Sep 17 00:00:00 2001 From: "peng.jianhua" Date: Tue, 24 Oct 2017 20:16:39 +0800 Subject: [PATCH 1/1] KYLIN-2934 Write user guide for KYLIN-2656 --- website/_data/docs21.yml | 3 ++- website/_docs21/howto/howto_enable_zookeeper_acl.md | 20 ++++++++++++++++++++ .../howto/howto_install_ranger_kylin_plugin.md | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 website/_docs21/howto/howto_enable_zookeeper_acl.md diff --git a/website/_data/docs21.yml b/website/_data/docs21.yml index 08f470cbc..b6f055d5a 100644 --- a/website/_data/docs21.yml +++ b/website/_data/docs21.yml @@ -69,4 +69,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 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 000000000..2d6cb1378 --- /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 diff --git a/website/_docs21/howto/howto_install_ranger_kylin_plugin.md b/website/_docs21/howto/howto_install_ranger_kylin_plugin.md index 7d6c031bd..530f914cc 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 -- 2.11.0.windows.1