2
我會嘗試在本地HBase的,我也開始一個ZK服務器,當我試圖創建這樣一個表:節點/ hbase-unsecure不在ZooKeeper中。它應該已被寫入由主
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
感謝您的回答,我檢查了zk中沒有節點/ hbase-unsecure。我開始一個獨立的zk server.HBASE_MANAGES_ZK = false。我想知道hbase如何與zk連接,我認爲這是我錯誤的地方 – ZhAIiyI