ACLs
Ranger authorization policies
登录后可跨设备保存划线和私人笔记登录
Ozone supports two authorization models: Native ACLs and Apache Ranger policies.
- Native ACLs are managed through Ozone's command-line interface or APIs and are stored internally within Ozone's metadata. They are suitable for simpler security requirements and for environments where Ozone is run as a standalone service.
- Apache Ranger provides centralized security administration for the entire Hadoop ecosystem. If you are already using Ranger to manage permissions for other components like HDFS, Hive, or HBase, integrating Ozone with Ranger allows you to manage all access policies in one place. Ranger offers a user-friendly UI, centralized auditing, and more advanced policy features. For more information about configuring Apache Ranger authorization for Ozone, refer to configuring Apache Ranger.
When Ranger is enabled, it becomes the sole authority for access control, and native ACLs are ignored.
Permission comparison table
The table below shows the mapping between Ozone operations and the required Ranger permissions. An Ozone Manager plugin synchronizes these policies from Ranger.
Operation | Volume permission |
|---|---|
Create volume | CREATE |
List volume | LIST |
Get volume info | READ |
Delete volume | DELETE |
Set Quota | WRITE |
Set Owner | WRITE_ACL |
Create Tenant (and volume) | CREATE |
Delete Tenant | WRITE_ACL |
Operation | Volume permission | Bucket permission |
|---|---|---|
Create bucket | READ | CREATE |
List bucket | LIST, READ | |
Get bucket info | READ | READ |
Delete bucket | READ | DELETE |
Update bucket property (quota, replication, ...) | READ | WRITE |
List Snapshot | READ | LIST |
List Trash | READ | LIST |
Trash Recover | READ | WRITE |
Set Owner | READ | WRITE_ACL |
Operation | Volume permission | Bucket permission | Key permission |
|---|---|---|---|
List key | READ | LIST, READ | |
Write key | READ | READ | CREATE, WRITE |
Read key | READ | READ | READ |
评论
登录后参与评论
正在加载评论…
KnowForge