My Oracle Support Banner

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 later
Linux x86-64


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 Unable to roll the log Permission denied: user=hbase, access=WRITE, inode="/hbase/MasterProcWALs":hbass:hbase:drwxr-xr-x
at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkFsPermission(
at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.check(

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  





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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.