當啓動hbase後查看日誌出現相似下面的錯誤日誌,而且hbase shell進入hbase後,list下會出現java
(ERROR: Can't get master address from ZooKeeper; znode data == null)node
2015-12-02 10:56:13,413 INFO [master:master:60000] catalog.CatalogTracker: Failed verification of hbase:meta,,1 at address=master,60020,1449024686424, exception=org.apache.hadoop.hbase.NotServingRegionException: org.apache.hadoop.hbase.NotServingRegionException: Region hbase:meta,,1 is not online on master,60020,1449024967876
at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:2762)
at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:4231)
at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionInfo(HRegionServer.java:3595)
at org.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:20158)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2027)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:108)
at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:114)
at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:94)
at java.lang.Thread.run(Thread.java:745)
解決方法:刪除各個節點hbase自動生成的zookeeper文件(當使用的zookeeper時habse自帶的時候),如果不能夠還能夠再嘗試將hadoop中hbase的的目錄刪除(啓動hadoop先,hadoop fs -rm -r /hbase)shell