我安装了HBase 1.0.2,zookeeper-3.4.6和java版本“1.7.0_80”
Zookeeper works fine. But when i tried to start the shell of hbase ia m getting the following error. can anyone please help me out. I am really struct at this point.
The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
my hbase-site.xml file is ,
<property>
<name>hbase.rootdir</name>
<value>file:///usr/local/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/usr/local/zookeeper</value>
</property>
答案 0 :(得分:0)
您需要在hbase-site.xml中配置zookeeper znode。
<property>
<name>zookeeper.znode.parent</name>
<value>/hbase</value>
</property>
不匹配可能是因为默认配置。您可以使用zkcli验证ZooKeeper中的可用znode。