【发布时间】:2015-12-22 05:17:15
【问题描述】:
我打算在本地尝试 hbase,我确实启动了一个 zk 服务器,当我尝试创建这样的表时:
create 'table', 'col'
错误:
ERROR [main] client.ConnectionManager$HConnectionImplementation: The node /hbase-unsecure 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.
和: 我认为这可能与 hbase-site.xml 有关 这里是:
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:////Users/zhaiyi/Documents/apache-hadoop/hbase</value>
</property>
<property>
<name>>hbase.zookeeper.property.dataDir</name>
<value>/Users/zhaiyi/Documents/zookeeper/server1/zookeeper-3.5.1-alpha </value>
</property>
<property>
<name>zookeeper.znode.parent</name>
<value>/hbase-unsecure</value>
</property>
</configuration>
不行,求大神帮忙!!谢谢!!
ps:hbase-1.1.2 & hadoop-2.6.3
【问题讨论】:
标签: hadoop hbase apache-zookeeper