在我的ubuntu机器上启动独立的hBase时,我得到了这个错误。请帮帮忙。花了大量的时间让它运转起来。:(到目前为止我查过的-
当我尝试运行命令- create 'usertable','resultfamily‘时
它给了我以下的例外-
ERROR: 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
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:54310/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/hduser/zookeeper</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
<description>Property from ZooKeeper's config zoo.cfg.
The port at which the clients will connect.
</description>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>zookeeper.znode.parent</name>
<value>/hbase-unsecure</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>localhost</value>
<description>Comma separated list of servers in the ZooKeeper Quorum.
</description>
</property>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
<property>
<name>hbase.master</name>
<value>hadoop-master:60000</value>
</property>
</configuration>
发布于 2015-03-25 13:02:40
你能确认你的动物园管理员中是否存在不安全的hbasee文件夹吗?
您只需登录到动物园管理员使用下面的命令和做ls。
zookeeper-client
上面的命令将打开动物园管理员外壳,然后执行ls。
ls /
这将显示带动物园管理员的文件夹。
里面应该有hbase-不安全的文件夹。
https://stackoverflow.com/questions/29176273
复制相似问题