本文主要是介绍初尝Hbase不顺,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
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 ZooKeeperfiles that are configured with a relative path will go under this node.By default, all of HBase's ZooKeeper file path are configured with arelative path, so they will all go under this directory unless changed.</description></property><property>
算了,先不搞Hbase, 把JNI的Hadoop运行搞定先,周五又要交report了。
这篇关于初尝Hbase不顺的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!