CDH - 启动HbaseMaster时异常
生活随笔
收集整理的這篇文章主要介紹了
CDH - 启动HbaseMaster时异常
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
測試環境 CDH,啟動HbaseMaster時,啟動失敗,提示無法split WALs目錄下的數據。
解決方法:刪除WALs里的數據解決該問題(數據如不可恢復勿用該方法),重啟成功
2018-09-14 14:43:07,254 WARN org.apache.hadoop.hbase.coordination.SplitLogManagerCoordination: Error splitting /hbase/splitWAL/WALs%2Ftest112%2C60020%2C1535004312092-splitting%2Ftest112%252C60020%252C1535004312092.meta.1536210684657.meta 2018-09-14 14:43:07,255 WARN org.apache.hadoop.hbase.master.SplitLogManager: error while splitting logs in [hdfs://test111:8020/home/hbase/WALs/test112,60020,1535004312092-splitting] installed = 1 but only 0 done 2018-09-14 14:43:07,255 FATAL org.apache.hadoop.hbase.master.HMaster: Failed to become active master java.io.IOException: error or interrupted while splitting logs in [hdfs://test111:8020/home/hbase/WALs/test112,60020,1535004312092-splitting] Task = installed = 1 done = 0 error = 1at org.apache.hadoop.hbase.master.SplitLogManager.splitLogDistributed(SplitLogManager.java:291)at org.apache.hadoop.hbase.master.MasterFileSystem.splitLog(MasterFileSystem.java:436)at org.apache.hadoop.hbase.master.MasterFileSystem.splitMetaLog(MasterFileSystem.java:346)at org.apache.hadoop.hbase.master.MasterFileSystem.splitMetaLog(MasterFileSystem.java:337)at org.apache.hadoop.hbase.master.HMaster.splitMetaLogBeforeAssignment(HMaster.java:1073)at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:770)at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:194)at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1834)at java.lang.Thread.run(Thread.java:745) 2018-09-14 14:43:07,261 FATAL org.apache.hadoop.hbase.master.HMaster: Master server abort: loaded coprocessors are: [] 2018-09-14 14:43:07,261 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown. java.io.IOException: error or interrupted while splitting logs in [hdfs://test111:8020/home/hbase/WALs/test112,60020,1535004312092-splitting] Task = installed = 1 done = 0 error = 1at org.apache.hadoop.hbase.master.SplitLogManager.splitLogDistributed(SplitLogManager.java:291)at org.apache.hadoop.hbase.master.MasterFileSystem.splitLog(MasterFileSystem.java:436)at org.apache.hadoop.hbase.master.MasterFileSystem.splitMetaLog(MasterFileSystem.java:346)at org.apache.hadoop.hbase.master.MasterFileSystem.splitMetaLog(MasterFileSystem.java:337)at org.apache.hadoop.hbase.master.HMaster.splitMetaLogBeforeAssignment(HMaster.java:1073)at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:770)at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:194)at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1834)at java.lang.Thread.run(Thread.java:745) 2018-09-14 14:43:07,261 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: STOPPED: Unhandled exception. Starting shutdown. 2018-09-14 14:43:07,261 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Stopping infoServer?
總結
以上是生活随笔為你收集整理的CDH - 启动HbaseMaster时异常的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C++异常处理类与自定义异常处理类
- 下一篇: 谷歌c++风格摘抄