Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.90.0
-
None
-
None
-
Reviewed
Description
Upon startup, HBase attempts to create its zookeeper.parent.znode in ZooKeeper, it does so using ZKUtil.createAndFailSilent which as its name seems to imply will fail silent if the znode exists. But if HBase does not have the CREATE permission on its zookeeper.parent.znode parent znode then the create attempt will fail with a org.apache.zookeeper.KeeperException$NoAuthException and will terminate the process.
In a production environment where ZooKeeper has a managed namespace it is not possible to give HBase CREATE permission on the parent of its parent znode.
ZKUtil.createAndFailSilent should therefore be modified to check that the znode exists using ZooKeeper.exist prior to attempting to create it.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-28444 Bump org.apache.zookeeper:zookeeper from 3.8.3 to 3.8.4
- Resolved