hadoop的 namenode又一次格式化以后。重新启动hbase。发现它的hmaster进程启动后立即消失,查看一大堆日志,最后在zookeeper的日志里发现例如以下问题
Unable to read additional data from client sessionid 0x14e86607c850007, likely client has closed socket
解决 方法:删除掉hbase的hdfs-site.xml中一下内容所配置路径下的文件夹。重新启动zookeeper集群,再重新启动hbase让该文件夹又一次生成就可以
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/lee/opt/zookeeper_data00</value>
</property>