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
- hbase shell命令
- HBase啟動報錯:ERROR:org.apache.hadoop.hbase.ipc.ServerNotRunningYetException:ServerisnotrunningyetErrorApacheHadoopServerException
- HBase 系列(五)——HBase常用 Shell 命令
- list中for迴圈刪除多個元素為何報錯?
- 連線zk 報錯連線不上hbase jdbcJDBC
- list增強for迴圈刪除元素報錯
- python爬蟲 -IndexError: list index out of range報錯Python爬蟲IndexError
- hbase - [03] 客戶端常用命令(hbase shell)客戶端
- HBase的常用命令
- Linux系統中的list命令有何作用?Linux
- mysql報錯:Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggreMySqlExpressAI
- 解決String cannot be cast to java.util.List報錯ASTJava
- mysqld_multi 命令使用報錯MySql
- HBase架構與基礎命令架構
- MacOS 裡執行 sed 命令報錯Mac
- RMAN命令LIST操作總結
- windows中Python Playsound報錯:驅動程式無法識別指定的命令WindowsPython
- 一些執行maven命令的報錯Maven
- Spark讀取Hbase報錯NoSuchMethodError: org.apache.hadoop.conf.Configuration.getPassword(Ljava/lang/String;SparkErrorApacheHadoopJava
- linux命令從log檔案中找出404 或者500的所有報錯資訊?Linux
- jmeter打不開-報錯findstr不是內部命令JMeter
- SAP RETAIL WA03 基於分配表建立PO報錯 - No work list could be selected –AI
- 去掉pipeline中shell命令的除錯資訊除錯
- Kafka安裝搭建、常見報錯、常用命令Kafka
- 完美解決呼叫“sudo rosdep init“命令時的報錯ROS
- VSCode中Flow報錯解決VSCode
- hbase之hbase shell
- Nginx啟動不了報錯未找到命令的解決方法(- bash: nginx: 未找到命令)Nginx
- Mybatis中List傳值MyBatis
- console除錯命令除錯
- 使用命令登入harbor報錯authentication required解決方法UI
- docker中使用systemctl命令時報Too many open files錯誤Docker
- Hbase(二)Hbase常用操作
- IDEA 執行 XXX 時報錯命令列過長,縮短命令列並重新執行Idea命令列
- hbase - [04] java訪問hbaseJava
- HBase 教程:什麼是 HBase?
- HBase2.0中的Benchmark工具—PerformanceEvaluationORM
- Jenkins Tips:去掉pipeline中shell命令的除錯資訊Jenkins除錯