Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions hadoop-hdds/docs/content/security/SecurityWithRanger.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ Property|Value
ozone.acl.enabled | true
ozone.acl.authorizer.class| org.apache.ranger.authorization.ozone.authorizer.RangerOzoneAuthorizer

To use the RangerOzoneAuthorizer, you also need to add the following environment variables to ozone-env.sh:
```
export OZONE_CLASSPATH="${OZONE_HOME}/share/ozone/lib/libext/*"
```
* The location of the ranger-ozone-plugin jars depends on where the Ranger Plugin is installed.
* If the ranger-ozone-plugin jars is installed on another node, copy it to the Ozone installation directory.

The Ranger permissions corresponding to the Ozone operations are as follows:

| operation&permission | Volume permission | Bucket permission | Key permission |
Expand Down
9 changes: 8 additions & 1 deletion hadoop-hdds/docs/content/security/SecurityWithRanger.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ Apache Ranger™ 是一个用于管理和监控 Hadoop 平台复杂数据权限
ozone.acl.enabled | true
ozone.acl.authorizer.class| org.apache.ranger.authorization.ozone.authorizer.RangerOzoneAuthorizer

为了使用 RangerOzoneAuthorizer,还需要在 ozone-env.sh 中增加下面环境变量:
```
export OZONE_CLASSPATH="${OZONE_HOME}/share/ozone/lib/libext/*"
```
* ranger-ozone-plugin jars 具体路径取决于 Ranger Ozone plugin 安装配置。
* 如果 ranger-ozone-plugin jars 安装在其他节点,需要拷贝到 Ozone 安装目录。

Ozone各类操作对应Ranger权限如下:

| operation&permission | Volume permission | Bucket permission | Key permission |
Expand All @@ -51,4 +58,4 @@ Ozone各类操作对应Ranger权限如下:
| Delete bucket | READ | DELETE | |
| List key | READ | LIST, READ | |
| Write key | READ | READ | CREATE, WRITE |
| Read key | READ | READ | READ |
| Read key | READ | READ | READ |