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/然後檢視安全模式時間,這個時候我在等待它自動退出安全模式。
相關文章
- Java中List集合轉Map集合報錯:Duplicate keyJava
- list中for迴圈刪除多個元素為何報錯?
- Jenkins中執行docker命令報錯JenkinsDocker
- hbase shell命令
- HBase 系列(五)——HBase常用 Shell 命令
- shell命令列中操作HBase資料庫命令列資料庫
- hbase之 Hbase shell 常用命令
- HBase啟動報錯:ERROR:org.apache.hadoop.hbase.ipc.ServerNotRunningYetException:ServerisnotrunningyetErrorApacheHadoopServerException
- rac 命令 srvctl 報錯
- 連線zk 報錯連線不上hbase jdbcJDBC
- HBase刪除列族報錯的解決方法
- HBase 常用Shell命令
- list增強for迴圈刪除元素報錯
- ./mongod命令執行報錯Go
- 執行srvctl命令報錯
- opatch命令報錯Inventory is corrupted
- HBase管理命令彙總
- HBASE的SHELL命令操作
- HBase shell 命令介紹
- Hbase - 常用命令
- hbase shell 基本操作命令
- python爬蟲 -IndexError: list index out of range報錯Python爬蟲IndexError
- hbase - [03] 客戶端常用命令(hbase shell)客戶端
- redis命令之-listRedis
- 【RMAN】LIST命令演示
- mysqld_multi 命令使用報錯MySql
- 解決String cannot be cast to java.util.List報錯ASTJava
- hbase基本概念和hbase shell常用命令用法
- Linux系統中的list命令有何作用?Linux
- MacOS 裡執行 sed 命令報錯Mac
- hbase叢集 常用維護命令
- Hbase shell 常用命令1
- RAC: SRVCTL and VIPCA 命令報錯解決方法PCA
- mysql執行命令報segmentation fault 錯誤MySqlSegmentation
- RMAN命令LIST操作總結
- Openstack的的nova list命令
- TCL: LIST命令-lsearch, lsort, lrange
- Hbase shell 常用命令筆記筆記