我想以僞分佈式模式運行hbase,安裝是從頭開始的。
跟着步Zookeeper無法定位hbase僞分佈式模式下的主節點
- start HBase。
- 啓動HBase的主服務器
- 啓動區域服務器
- 開始HBase的殼牌
- 執行列表
HBase的正常啓動,因此HBase的外殼。 當我檢查動物園管理員,主人以及地區所有服務器都起來了。 對於任何查詢hbase shell提示,我得到這個錯誤。
錯誤 - 無法從ZooKeeper獲取主地址; Z序節點的數據== NULL
code- configuration -
hbase-site.xml
<configuration>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
//Here you have to set the path where you want HBase to store its files.
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:8030/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/hadoop/zookeeper</value>
</property>
</configuration>
以上就是我hbase-site.xml
配置。
請幫我理解,我失蹤了。
在zookeeper中檢查路徑'/ hbase/master',當錯誤日誌聲明時它是異常的。也許你可以在步驟中添加你執行的確切命令。 –