hadoop - The node /hbase-unsecure is not in ZooKeeper. Check the value configured in 'zookeeper.znode.parent'. -
i getting error while starting standalone hbase on ubuntu machine. please help. spent huge amount of time running. :( have checked far -
- /etc/hosts contains localhost 127.0.0.1
- hbase : hbase-0.98.3-hadoop2-bin.tar.gz
- hadoop: hadoop-2.6.0.tar.gz
- i have node /hbase-unsecure in hbase-site.xml.
when try run command - create 'usertable', 'resultfamily'
it gives me following exception -
error: node /hbase-unsecure not in zookeeper. should have been written master. check value configured in 'zookeeper.znode.parent'. there mismatch 1 configured in 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 zookeeper's config zoo.cfg. port @ clients 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 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>
can verify hbasee-unsecure folder present in zookeeper?
you can login zookeeper using below command , ls.
zookeeper-client
above command open zookeeper shell , ls.
ls /
this show folders present zookeeper.
it should have hbase-unsecure folder in it.
Comments
Post a Comment