Hbase錯誤及處理
阿新 • • 發佈:2019-01-02
1. master結點報錯
2017-07-20 11:16:10,353 ERROR [main] master.HMasterCommandLine: Master exiting
java.io.IOException: Could not start ZK with 3 ZK servers
in local mode deployment. Aborting as clients (e.g. shell) will not be able to find this ZK quorum.
server結點報錯
[main] regionserver.HRegionServerCommandLine: Not starting a distinct region
server because hbase.cluster.distributed is false
分析:單機模式的master結點啟動了大於1的zk,
原因:沒有設定成分散式的。
結果方法:
hbase-site.xml
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>