初尝Hbase不顺

来源:互联网 发布:pk10计划软件免费版 编辑:程序博客网 时间:2024/05/16 19:34

Hadoop装的是单机模式,昨天安装了HBase,单机模式,运行Hbase shell报错说连不上,似乎因为没有安装zookeeper。

今天安装了以下zookeeper,单机模式,还是报错

13/06/27 15:33:46 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.

尝试查看hbase-default.xml的配置,貌似默认的值也没有问题

<property>    <name>zookeeper.znode.parent</name>    <value>/hbase</value>    <description>Root ZNode for HBase in ZooKeeper. All of HBase's ZooKeeper      files that are configured with a relative path will go under this node.      By default, all of HBase's ZooKeeper file path are configured with a      relative path, so they will all go under this directory unless changed.    </description>  </property>  <property>

算了,先不搞Hbase, 把JNI的Hadoop运行搞定先,周五又要交report了。