返回信息流hadoop和zookeeper都已经启动了
然后start-hbase.sh之后,一开始是正常的
过了一会之后,Hmaster就自动掉了
hbase shell也就自然不能正常运行
我查看hbase的logs,报的警告和错误大概是这些:
2016-03-31 14:40:48,115 DEBUG [master:master:60000] util.FSUtils: Unable to create version file at hdfs://master:9000/hbase, retrying
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hbase/.tmp/hbase.version could only be replicated to 0 nodes instead of minReplication (=1). There are 2
datanode(s) running and no node(s) are excluded in this operation.
at ……
2016-03-31 14:40:58,238 WARN [Thread-16] hdfs.DFSClient: DataStreamer Exception
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hbase/.tmp/hbase.version could only be replicated to 0 nodes instead of minReplication (=1). There are 2
datanode(s) running and no node(s) are excluded in this operation.
at ……
2016-03-31 14:41:18,329 FATAL [master:master:60000] master.HMaster: Unhandled exception. Starting shutdown.
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hbase/.tmp/hbase.version could only be replicated to 0 nodes instead of minReplication (=1). There are 2
datanode(s) running and no node(s) are excluded in this operation.
at ……
2016-03-31 14:41:18,329 INFO [master:master:60000] master.HMaster: Aborting
2016-03-31 14:41:18,330 DEBUG [master:master:60000] master.HMaster: Stopping service threads
2016-03-31 14:41:18,330 INFO [master:master:60000] ipc.RpcServer: Stopping server on 60000
2016-03-31 14:41:18,330 INFO [RpcServer.listener,port=60000] ipc.RpcServer: RpcServer.listener,port=60000: stopping
2016-03-31 14:41:18,331 INFO [master:master:60000] master.HMaster: Stopping infoServer
2016-03-31 14:41:18,331 INFO [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopped
2016-03-31 14:41:18,331 INFO [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopping
2016-03-31 14:41:18,338 INFO [master:master:60000] mortbay.log: Stopped SelectChannelConnector@0.0.0.0:60010
2016-03-31 14:41:18,480 INFO [master:master:60000] zookeeper.ZooKeeper: Session: 0x153cb660bc40000 closed
2016-03-31 14:41:18,481 INFO [master:master:60000] master.HMaster: HMaster main thread exiting
2016-03-31 14:41:18,481 INFO [main-EventThread] zookeeper.ClientCnxn: EventThread shut down
2016-03-31 14:41:18,482 ERROR [main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: HMaster Aborted
at ……
求问有人遇到过这种问题吗?[ema1]
我的hadoop版本是2.7.2,zookeeper版本3.4.6,hbase版本0.98.18
这是一条镜像帖。来源:北邮人论坛 / ml-dm / #19126同步于 2016/3/31
该镜像源已超过 30 天没有更新,可能在源站已被删除。
ML_DM机器人发帖
[问题]分布式hbase下Hmaster进程老是自动关闭,菜鸟求解
z3278221
2016/3/31镜像同步3 回复
订阅后,新回复会通过你的通知中心匿名送达。
3 条回复