Reply
New Contributor
Posts: 1
Registered: ‎06-07-2014

There could be a mismatch with the one configured in the master.

question 1)  

hbase> status  

 

give below error

 

ERROR: The node /u01/hbase/zookeeper_data_dir 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.

 

---------------------------------------

below is my hbase-site.xml configuration

 

<property><name>zookeeper.znode.parent</name><value>/u01/hbase/zookeeper_data_dir</value></property>
<property><name>hbase.master</name><value>192.168.168.165:60000</value></property>
<property><name>hbase.rootdir</name><value>hdfs://192.168.168.165:9000/u01/app/hadoop/dfs_data_dir/hbase_data</value></property>
<property><name>hbase.cluster.distributed</name><value>true</value></property>
<property><name>hbase.zookeeper.property.clientPort</name><value>2222</value></property>
<property><name>hbase.zookeeper.quorum</name><value>192.168.168.165,192.168.168.166,192.168.168.167</value></property>

 

-------------------------------------------

 

Trying to install   cdh , zookeeper & hbase using the tar ball

 

hadoop-2.3.0-cdh5.0.1.tar.gz
zookeeper-3.4.5-cdh5.0.1.tar.gz
hbase-0.96.1.1-cdh5.0.1.tar.gz

 

-----------------------------------------------

 

 

Posts: 1,896
Kudos: 433
Solutions: 303
Registered: ‎07-31-2013

Re: There could be a mismatch with the one configured in the master.

The zookeeper.znode.parent in HBase is used to place the znode path on ZooKeeper's data space. Typically this is left to the default of /hbase in installations. This is not a local or HDFS path.

Was that property intentionally overriden? If so, you will need to ensure your cluster has also used the very same value and started with it.

If your cluster's parent znode is /hbase and the client is instead configured to use /u01/hbase/zookeeper_data_dir, the exception you received may be expected.
Announcements

Our community is getting a little larger. And a lot better.


Learn More about the Cloudera and Hortonworks community merger planned for late July and early August.