Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28496

Troubleshooting the issue of the "hbase-cleanup.sh --cleanAcls" command not taking effect

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.4.15
    • None
    • Zookeeper
    • None
    • Patch

    Description

      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:
       

      execute_clean_acls() { 
        command=$1; "$bin"/hbase org.apache.hadoop.hbase.zookeeper.ZkAclReset $command 2>&1 
      } 

      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.

      Attachments

        1. HBASE-28496.patch
          0.4 kB
          jiaozhiwei

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ziyang jiaozhiwei

            Dates

              Created:
              Updated:

              Slack

                Issue deployment