ERROR: Can't get master address from ZooKeeper; znode data == null
Please try restarting your HBase Master. Looks like the HBase Master is not reachable.
If you are using AMS (Ambari Metrics Collector) then please make sure that it is restarted and running fine. (Because AMS also internally uses HBase)
If still you face the issue then please share the complete log and let us know the exact version of HDP /ambari.
@Jay Kumar SenSharma, I am facing the same error in my hbase-shell..., also, in my hbase-master.log file, I have the error as follows:
File /hbase/.tmp/hbase.version could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation
Can you help me solve this problem?
Let me know if you seeing any corrupted block in the cluster? also Hbase region server is running fine?
It would be better if you share hbase-master & Hbase-region server logs.
@Olufemi Babalola how to restart Ambari Metrics Collector...
I am only running hadoop and hbase right now, Everything is up and running except HMaster on the namenode. Can you help with solving the same error...