HDFS and ZooKeeper verify the permission of users who attempt to access the services in both security and normal clusters by default. Users without related permission cannot access resources in HDFS and ZooKeeper. When the cluster is deployed in normal mode, HBase and YARN do not verify the permission of users who attempt to access the services by default. All users can access resources in HBase and YARN.
Based on actual service requirements, administrators can enable permission verification on HBase and YARN or disable permission verification on HDFS and ZooKeeper in normal clusters.
After the enabling and disabling operations, the service configuration will expire. You need to restart the corresponding service for the configuration to take effect.
Add the coprocessor parameter org.apache.hadoop.hbase.security.access.AccessController to the end of the values of the preceding parameters, and use a comma (,) to separate the values from those of the original coprocessors.
After HBase permission verification is disabled, the existing permission data will be retained. If you want to delete permission information, disable permission verification, enter the HBase shell, and delete table hbase:acl.
Delete the coprocessor parameter org.apache.hadoop.hbase.security.access.AccessController.
yarn.acl.enable indicates whether to enable the permission check for YARN.
skipACL indicates whether to skip the ZooKeeper permission check. The default value is no, indicating that permission check is enabled. Change the value to yes.