99re热这里只有精品视频,7777色鬼xxxx欧美色妇,国产成人精品一区二三区在线观看,内射爽无广熟女亚洲,精品人妻av一区二区三区

故障排除和調(diào)試HBase:Master

2018-11-08 11:06 更新

Master

有關(guān)Master的更多信息,請(qǐng)參閱master。

啟動(dòng)錯(cuò)誤

Master提示您需要運(yùn)行HBase遷移腳本

運(yùn)行時(shí),HBase遷移腳本提示根目錄中沒有文件。

HBase希望根目錄不存在,或者已經(jīng)由HBase先前運(yùn)行初始化。如果使用Hadoop DFS為HBase創(chuàng)建新目錄,則會(huì)發(fā)生此錯(cuò)誤。確保HBase根目錄當(dāng)前不存在或已由先前的HBase運(yùn)行初始化。確定的解決方案是使用Hadoop dfs刪除HBase根目錄,讓HBase創(chuàng)建并初始化目錄本身。

包len6080218超出范圍!

如果群集中有許多區(qū)域,并且您在日志中看到了如上部分標(biāo)題中所述的錯(cuò)誤,請(qǐng)參閱HBASE-4246集群太多的區(qū)域無(wú)法承受某些主故障轉(zhuǎn)移方案。

由于缺少文件系統(tǒng)的hsync,Master無(wú)法激活

HBase的集群操作內(nèi)部框架需要能夠在寫入日志中持久保存狀態(tài)。當(dāng)使用支持檢查所需呼叫可用性的Apache Hadoop Common文件系統(tǒng)API版本時(shí),如果發(fā)現(xiàn)無(wú)法安全運(yùn)行,HBase將主動(dòng)中止集群。

對(duì)于Master,失敗將顯示在這樣的日志中:

2018-04-05 11:18:44,653 ERROR [Thread-21] master.HMaster: Failed to become active master
java.lang.IllegalStateException: The procedure WAL relies on the ability to hsync for proper operation during component failures, but the underlying filesystem does not support doing so. Please check the config value of 'hbase.procedure.store.wal.use.hsync' to set the desired level of robustness and ensure the config value of 'hbase.wal.dir' points to a FileSystem mount that can provide it.
        at org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.rollWriter(WALProcedureStore.java:1034)
        at org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.recoverLease(WALProcedureStore.java:374)
        at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.start(ProcedureExecutor.java:530)
        at org.apache.hadoop.hbase.master.HMaster.startProcedureExecutor(HMaster.java:1267)
        at org.apache.hadoop.hbase.master.HMaster.startServiceThreads(HMaster.java:1173)
        at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:881)
        at org.apache.hadoop.hbase.master.HMaster.startActiveMasterManager(HMaster.java:2048)
        at org.apache.hadoop.hbase.master.HMaster.lambda$run$0(HMaster.java:568)
        at java.lang.Thread.run(Thread.java:745)

如果您嘗試在獨(dú)立模式下運(yùn)行并看到此錯(cuò)誤,請(qǐng)返回快速入門 - 獨(dú)立HBase部分,并確保已包含所有給定的配置設(shè)置。

以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)