Zookeeper - Super User
ZooKeeper super user can be created and used to fix some permissions issues.
This might be the case for example if existing ACLs don't allow access on some zNodes.
Typical permissions errors are "Authentication is not valid
", "NoAuthException
".
First you need to generate a password for the user "super
":
This command will produce the following output:
Edit the file "zkEnv.sh
" ("/opt/zookeeper/bin/zkEnv.sh
") and set the variable "SERVER_JVMFLAGS
":
Execute the command "zkCli.sh
" ("/opt/zookeeper/bin/zkCli.sh
") and add a new authentication for the user "super
":
You are ready now to perform any operation you want on any zNode.