hbase中list命令报错

hbase启动正常之后输入./hbase shell 然后输入list就报yarn service is not running。
看后台的日志出现

2016-12-14 21:33:13,752 INFO  [main] http.HttpServer: Jetty bound to port 16010
2016-12-14 21:33:13,752 INFO  [main] mortbay.log: jetty-6.1.26
2016-12-14 21:33:14,464 INFO  [main] mortbay.log: Started SelectChannelConnector@0.0.0.0:16010
2016-12-14 21:33:14,466 INFO  [main] master.HMaster: hbase.rootdir=hdfs://lsmaster:9000/hbase, hbase.cluster.distributed=true
2016-12-14 21:33:14,521 INFO  [main] master.HMaster: Adding backup master ZNode /hbase/backup-masters/lsmaster,16000,1481779990983
2016-12-14 21:33:14,765 INFO  [lsmaster:16000.activeMasterManager] master.ActiveMasterManager: Deleting ZNode for /hbase/backup-masters/lsmaster,16000,1481779990983 from backup master directory
2016-12-14 21:33:14,783 INFO  [lsmaster:16000.activeMasterManager] master.ActiveMasterManager: Registered Active Master=lsmaster,16000,1481779990983
2016-12-14 21:33:14,940 INFO  [master/lsmaster/192.168.13.129:16000] zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x7107b402 connecting to ZooKeeper ensemble=lsmaster:2181,liuqislave1:2181,liyanslave2:2181
2016-12-14 21:33:14,966 INFO  [master/lsmaster/192.168.13.129:16000] zookeeper.ZooKeeper: Initiating client connection, connectString=lsmaster:2181,liuqislave1:2181,liyanslave2:2181 sessionTimeout=90000 watcher=hconnection-0x7107b4020x0, quorum=lsmaster:2181,liuqislave1:2181,liyanslave2:2181, baseZNode=/hbase
2016-12-14 21:33:14,984 INFO  [master/lsmaster/192.168.13.129:16000-SendThread(lsmaster:2181)] zookeeper.ClientCnxn: Opening socket connection to server lsmaster/192.168.13.129:2181. Will not attempt to authenticate using SASL (unknown error)
2016-12-14 21:33:14,990 INFO  [master/lsmaster/192.168.13.129:16000-SendThread(lsmaster:2181)] zookeeper.ClientCnxn: Socket connection established to lsmaster/192.168.13.129:2181, initiating session
2016-12-14 21:33:15,013 INFO  [master/lsmaster/192.168.13.129:16000-SendThread(lsmaster:2181)] zookeeper.ClientCnxn: Session establishment complete on server lsmaster/192.168.13.129:2181, sessionid = 0x5900f84b4d0000, negotiated timeout = 90000
2016-12-14 21:33:15,145 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...
2016-12-14 21:33:15,162 INFO  [master/lsmaster/192.168.13.129:16000] regionserver.HRegionServer: ClusterId : 308eda38-0040-4309-be38-3795eb075dc6
2016-12-14 21:33:25,151 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...
2016-12-14 21:33:35,165 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...
2016-12-14 21:33:45,167 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...
2016-12-14 21:33:55,171 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...
2016-12-14 21:34:05,176 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...
2016-12-14 21:34:15,177 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...
2016-12-14 21:34:25,183 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...
2016-12-14 21:34:35,184 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...
2016-12-14 21:34:45,191 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...
2016-12-14 21:34:55,193 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...
2016-12-14 21:35:05,198 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...
2016-12-14 21:35:15,200 INFO  [lsmaster:16000.activeMasterManager] util.FSUtils: Waiting for dfs to exit safe mode...

hadoop一直处于安全模式下,于是百度搜停止安全模式的命令
./hadoop dfsadmin safemode leave 停止安全模式,但是刚刚停止完输入
./hadoop dfsadmin safemode get
发现hadoop还是在安全模式下,于是登录https://lsmaster:50070/然后查看安全模式时间,这个时候我在等待它自动退出安全模式。

已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: Age of Ai 设计师:meimeiellie 返回首页