Introduction
Data Security allows you to control the permissions required for accessing resources. You can create permission policies to control the access to your data. The access permissions are allocated in line with the least privilege principle, therefore largely reducing data security risks.
Access permissions control has the following features:
- Centralized access control
Data Security can be used to control the access permissions required for HDFS, Hive, HBase, Yarn, Kafka, Storm, and Elasticsearch in an MRS cluster. Permissions control for more cloud services will be available soon. Once you can control the access permissions required for one cloud service, you can also control the access permissions required for other cloud services. In a word, you can easily control the access permissions required for multiple MRS services on a unified GUI. This centralized access permissions control is an effective way to avoid problems caused by decentralized access permissions control.
- Diverse permission policies
Data Security provides diverse permission policy settings. The fine-grained permissions control for resources and all-round user permissions control, peered with the settings of policy effective time and overwriting options, give you many choices to control your permissions.
- Refined access control for MRS resources
Data Security is in line with the least privilege principle. You can use Data Security to grant the access permissions required for MRS resources at a finer granularity. When authorizing the permissions required for accessing MRS resources, you can also create fine-grained access control measures to safeguard your resource security.
- Comprehensive permission reports
Data Security provides comprehensive permission reports to help administrators easily view the details about the permission policies of each user.
- Detailed authorization and authentication log audit
Data Security provides detailed authorization and authentication logs to help users identify unauthorized and high-risk operations to reduce data risks.
Operation Process
For details on the access permissions control process, see Figure 1.
- View the list of MRS Ranger clusters.
The resource configurations of MRS Ranger clusters are important references for setting resource access permissions.
- Configure permissions.
Create policies to set resource permissions.
- View permission reports.
The reports display the details of created permission policies.
- Access resources.
After the permission policy is created, you can access resources.
- Perform compliance audit.
A log is generated when a user configured with a permission policy with the audit log enabled accesses a resource.
MRS Components that Support Access Control and the Permission List
Ranger uses plug-ins to integrate components in an MRS cluster (the MRS cluster version is 3.0.0 or later). Ranger can be used to implement fine-grained access permissions control on components. Table 1 lists the supported components and describes related permissions.
| Component | Permission |
|---|---|
| HDFS | HDFS file permissions:
|
| Hive | Hive database, data table, and column permissions:
|
| Yarn | Yarn queue permissions:
|
| HBase | HBase column and column family permissions:
|
| Kafka | Kafka topic permissions:
|
| Storm | Storm topology permissions:
|
| Elasticsearch | Elasticsearch index permissions:
|
Last Article: Access Permissions Management
Next Article: Viewing the List of MRS Ranger Clusters

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.