Currently in a secure cluster, only the master/regionserver kerberos user can manage the znode of hbase. But he master/regionserver kerberos user is for rpc connection and we usually use another super user to manage the cluster.
In some special scenarios, we need to manage the data of znode with the supper user.
a, To get the data of the znode for debugging.
HBASE-8253: We need to delete the znode for the corrupted hlog to avoid it block the replication.
So we grant all permissions of hbase zookeeper node to hbase superuser during creating these znodes.
Suggestions are welcomed.