Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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
21 changes: 19 additions & 2 deletions hadoop-hdds/docs/content/security/SecurityWithRanger.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ icon: user


Apache Ranger™ is a framework to enable, monitor and manage comprehensive data
security across the Hadoop platform. Any version of Apache Ranger which is greater
than 1.20 is aware of Ozone, and can manage an Ozone cluster.
security across the Hadoop platform. Apache Ranger has supported Ozone authentication
since version 2.0. However, due to some bugs in 2.0, Apache Ranger
2.1 and later versions are recommended.


To use Apache Ranger, you must have Apache Ranger installed in your Hadoop
Expand All @@ -44,3 +45,19 @@ Property|Value
--------|------------------------------------------------------------
ozone.acl.enabled | true
ozone.acl.authorizer.class| org.apache.ranger.authorization.ozone.authorizer.RangerOzoneAuthorizer

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

| operation&permission | Volume permission | Bucket permission | Key permission |
| :--- | :--- | :--- | :--- |
| Create volume | CREATE | | |
| List volume | LIST | | |
| Get volume Info | READ | | |
| Delete volume | DELETE | | |
| Create bucket | READ | CREATE | |
| List bucket | LIST, READ | | |
| Get bucket info | READ | READ | |
| Delete bucket | READ | DELETE | |
| List key | READ | LIST, READ | |
| Write key | READ | READ | CREATE, WRITE |
| Read key | READ | READ | READ |
18 changes: 17 additions & 1 deletion hadoop-hdds/docs/content/security/SecurityWithRanger.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ icon: user
-->


Apache Ranger™ 是一个用于管理和监控 Hadoop 平台复杂数据权限的框架。版本大于 1.20 的 Apache Ranger 都可以用于管理 Ozone 集群
Apache Ranger™ 是一个用于管理和监控 Hadoop 平台复杂数据权限的框架。Apache Ranger 从2.0版本开始支持ozone鉴权。但由于在2.0中存在一些bug,因此我们更推荐使用Apache Ranger 2.1及以后版本
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ozone -> Ozone
I think Ozone should start with a uppercase letter.


你需要先在你的 Hadoop 集群上安装 Apache Ranger,安装指南可以参考 [Apache Ranger 官网](https://ranger.apache.org/index.html).

Expand All @@ -36,3 +36,19 @@ Apache Ranger™ 是一个用于管理和监控 Hadoop 平台复杂数据权限
--------|------------------------------------------------------------
ozone.acl.enabled | true
ozone.acl.authorizer.class| org.apache.ranger.authorization.ozone.authorizer.RangerOzoneAuthorizer

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

| operation&permission | Volume permission | Bucket permission | Key permission |
| :--- | :--- | :--- | :--- |
| Create volume | CREATE | | |
| List volume | LIST | | |
| Get volume Info | READ | | |
| Delete volume | DELETE | | |
| Create bucket | READ | CREATE | |
| List bucket | LIST, READ | | |
| Get bucket info | READ | READ | |
| Delete bucket | READ | DELETE | |
| List key | READ | LIST, READ | |
| Write key | READ | READ | CREATE, WRITE |
| Read key | READ | READ | READ |