master.SplitLogManager: total tasks = 1 unassigned = 0

HBase出過一次問題:

之後,我enable某張,就會顯示The procedure 2 is still running。

之後,就去看master的日誌,發現master一直在打印

master.SplitLogManager: total tasks = 1 unassigned = 0 tasks={/hbase/splitWAL/WALs%2Fnode2%2C16020%2C1537844261125-splitting%2Fnode2%252C16020%252C1537844261125.default.1539859452860=last_update = 1569206033003 last_version = 32 cur_worker_name = master,16020,1564709336779 status = in_progress incarnation = 0 resubmits = 0 batch = installed = 1 done = 0 error = 0

查看上面的日誌上的時間,發現是2018年10月的日誌。去年的了,猜測應該是由於hmaster啓動,加載到了錯誤的wal日誌導致的。

這個時候去hdfs上,把對應的wal日誌刪除即可。

hdfs dfs -rm -r /hbase/data/WALs/node2,16020,1537844261125-splitting

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章