This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 7180ca707c4f5d8e6db45fdad6deb7c276f4c4a7 Author: zhangdong <[email protected]> AuthorDate: Sat Jan 20 22:39:37 2024 +0800 [doc](ranger) update ranger doc #30101 add some descriptions for ranger --- docs/en/docs/lakehouse/multi-catalog/hive.md | 13 +++++++++++++ docs/zh-CN/docs/lakehouse/multi-catalog/hive.md | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/docs/en/docs/lakehouse/multi-catalog/hive.md b/docs/en/docs/lakehouse/multi-catalog/hive.md index 90db7fe3543..e5fc390a05d 100644 --- a/docs/en/docs/lakehouse/multi-catalog/hive.md +++ b/docs/en/docs/lakehouse/multi-catalog/hive.md @@ -415,6 +415,19 @@ To connect to the Hive Metastore with Ranger permission verification enabled, yo "access_controller.class" = "org.apache.doris.catalog.authorizer.RangerHiveAccessControllerFactory", ``` +>Note: +> +>"access_controller.properties.ranger.service.name" It refers to the type of service, such as hive, hdfs, etc. +> If the configuration of `ranger-hive-security.xml`is as follows, "access_controller.properties.ranger.service.name" should be set to `hive` instead of `testative` +> + +```sql +<property> + <name>ranger.plugin.hive.service.name</name> + <value>testhive</value> +</property> +``` + 2. Configure all FE environments: 1. Copy the configuration files ranger-hive-audit.xml, ranger-hive-security.xml, and ranger-policymgr-ssl.xml under the HMS conf directory to the FE conf directory. diff --git a/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md b/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md index 52e40fc1d0b..b5eedd62747 100644 --- a/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md +++ b/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md @@ -396,6 +396,19 @@ Apache Ranger是一个用来在Hadoop平台上进行监控,启用服务,以 "access_controller.class" = "org.apache.doris.catalog.authorizer.RangerHiveAccessControllerFactory", ``` +>注意: +> +>"access_controller.properties.ranger.service.name"指的是service的类型,例如hive,hdfs等 +> 如果`ranger-hive-security.xml`配置如下,"access_controller.properties.ranger.service.name"应设置为`hive`而不是`testhive` +> + +```sql +<property> + <name>ranger.plugin.hive.service.name</name> + <value>testhive</value> +</property> +``` + 2. 配置所有 FE 环境: 1. 将 HMS conf 目录下的配置文件ranger-hive-audit.xml,ranger-hive-security.xml,ranger-policymgr-ssl.xml复制到 FE 的 conf 目录下。 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
