Hbase报错:ERROR: Can’t get master address from ZooKeeper; znode data == null
方法一:
查看日志报SessionExpiredException: KeeperErrorCode = Session expired for /hbase/master
原因一: 所以是hbase 和 zookeeper之间会话超时了,按照官网的常见问题说法: http://hbase.apache.org/1.2/book.html
If you wish to increase the session timeout, add the following to your hbase-site.xml(修改这个配置文件) to increase the timeout from the default of 60 seconds to 120 seconds.
<property>
<name>zookeeper.session.timeout</name