Solution for the above problem:
Change the zookeper default port : 2181 to 2282
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2282</value>
</property>
when we have to create the following path with zookeeper folder, it contains some data when we run start-hbase.sh .. if nothing is created in this folder then we will get the above error.
Actually I have pointed the zookeeper folder to HDFS .. But it is not working so that I have create the zookeeper folder in the following path... Note: we have to give write person to the start-hbase.sh running user ..
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/usr/local/softwares/hbase-2.2.5/zookeeper</value>
</property>
No comments:
Post a Comment