ziyang created HBASE-28496:
------------------------------
Summary: Troubleshooting the issue of the "hbase-cleanup.sh
--cleanAcls" command not taking effect
Key: HBASE-28496
URL: https://issues.apache.org/jira/browse/HBASE-28496
Project: HBase
Issue Type: Bug
Components: Zookeeper
Affects Versions: 2.4.15
Reporter: ziyang
Attachments: hbase-cleanup.patch
When executing the "hbase-cleanup.sh --cleanAcls" command, it was noticed that
the ACL permissions of nodes in ZooKeeper did not change. The reason is that in
the hbase-cleanup.sh script, the contents of the execute_clean_acls method are
as follows:
{code:java}
execute_clean_acls() {
command=$1; "$bin"/hbase org.apache.hadoop.hbase.zookeeper.ZkAclReset
$command 2>&1
} {code}
The corresponding type in the "hbase-zookeeper" module should be
"org.apache.hadoop.hbase.zookeeper.ZKAclReset", so it is necessary to change
"org.apache.hadoop.hbase.zookeeper.ZkAclReset" to
"org.apache.hadoop.hbase.zookeeper.ZKAclReset" in the "execute_clean_acls"
method.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)