HBase Shell Raises "ERROR: Can't get master address from ZooKeeper; znode data == null"
(Doc ID 2423655.1)
Last updated on JULY 25, 2021
Applies to:
Big Data Appliance Integrated Software - Version 4.10.0 and laterLinux x86-64
Symptoms
The symptoms are as follows:
1. Using the HBase shell raises:
ERROR: Can't get master address from ZooKeeper; znode data == null
2. The HBase Master log file reports:
<timestamp> WARN org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore: Unable to roll the log
org.apache.hadoop.security.AccessControlException: Permission denied: user=hbase, access=WRITE, inode="/hbase/MasterProcWALs":hbass:hbase:drwxr-xr-x
at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkFsPermission(DefaultAuthorizationProvider.java:279)
at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.check(DefaultAuthorizationProvider.java:260)
org.apache.hadoop.security.AccessControlException: Permission denied: user=hbase, access=WRITE, inode="/hbase/MasterProcWALs":hbass:hbase:drwxr-xr-x
at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkFsPermission(DefaultAuthorizationProvider.java:279)
at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.check(DefaultAuthorizationProvider.java:260)
3. In HDFS the /hbase/.hbase-snapshot directory and its content have their ownership incorrectly set to: "hdfs:hbase". It should be "hbase:hbase".
drwxr-xr-x - hdfs hbase 0 2018-07-14 13:12 /hbase/.hbase-snapshot
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |