我是HBase的新手,並試圖在Ubuntu 14.04上配置HBase。配置並啓動HBase(進入HBase CLI)。如果我運行任何HBase命令,我得到的節點/hbase
不在ZooKeeper中。 請在下面找到我的hbase-site.xml
和zoo.cfg
。HBase ZooKeeper
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost/hbase</value>
<description>Enter the HBase NameNode server hostname</description>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
<description> The port at which the clients will connect.
</description>
</property>
<property>
<name>hbase.master.port</name>
<value>2080</value>
<description>The port the HBase Master should bind to.</description>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>localhost</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/var/lib/zookeeper</value>
<description>Property from ZooKeeper's config zoo.cfg.
The directory where the snapshot is stored.
</description>
</property>
<property>
<name>zookeeper.znode.parent</name>
<value>/hbase</value>
</property>
</configuration>
Zoo.cfg
dataDir=/var/lib/zookeeper
server.1=localhost:2888:3888
欣賞提前你的一切幫助/支持。
請不要全部大寫鍵入您的瓷磚。它在這裏被認爲是SHOUTING(就像它在大多數網站上一樣),它不會早日得到答案,而且非常粗魯和煩人。閱讀也很難。如果您查看主頁面,您將不會在全部大寫中找到任何其他問題。請停止這樣做。謝謝。 –