错误日志如下:
[master:master:60000] zookeeper.ZooKeeper: Session: 0x24877e2a1e60002 closed
[master:master:60000-EventThread] zookeeper.ClientCnxn: EventThread shut down
[master,60000,1410761351315.splitLogManagerTimeoutMonitor] master.SplitLogManager$TimeoutMonitor: master,60000,1410761351315.splitLogManagerTimeoutMonitor exiting
[master:master:60000] zookeeper.ZooKeeper: Session: 0x24877e2a1e60001 closed
[main-EventThread] zookeeper.ClientCnxn: EventThread shut down
[master:master:60000] master.HMaster: HMaster main thread exiting
[main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: HMaster Aborted
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:194)
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:135)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2793)
zookper 链接信息过期了,进入zookeeper 删除rmr /hbase 重启zk , hbase
myid文件配置了没?路径不要搞错,另外试试
1、先把/tmp下的进程删掉
2、删除usr/local/hadoop/dfs/data/,current文件夹清理一下
3、hadoop namenode -format,重新再启动一下集群
通过ZK客户端进入ZK,删除/hbase目录