. Advertisement .
..3..
. Advertisement .
..4..
Today I get the ”error: can’t get master address from zookeeper; znode data == null” error after installing Hadoop2.2.0 and Hbase0.98.0.
$ ./bin/start-hbase.sh
$ ./bin/hbase shell
2.0.0-p353 :001 > list
I don’t know why this issue appears and how to fix it. Please help me!
The cause: This error happens because Zookeeper won’t stay live if the host computer or virtual machine is put to sleep.
Solution: You can fix this error by starting Zookeeper and then run Hbase-shell:
Then you need to check this property in hbase-env.sh: