I am newbie to HBase and trying to configure HBase on Ubuntu 14.04. After configuration and starting HBase (to get to HBase CLI). If I run any HBase command, I get the node /hbase is not in ZooKeeper.
Please find below my hbase-site.xml and zoo.cfg.
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost/hbase</value>
<description>Enter the HBase NameNode server hostname</description>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
<description> The port at which the clients will connect.
</description>
</property>
<property>
<name>hbase.master.port</name>
<value>2080</value>
<description>The port the HBase Master should bind to.</description>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>localhost</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/var/lib/zookeeper</value>
<description>Property from ZooKeeper's config zoo.cfg.
The directory where the snapshot is stored.
</description>
</property>
<property>
<name>zookeeper.znode.parent</name>
<value>/hbase</value>
</property>
</configuration>
Zoo.cfg
dataDir=/var/lib/zookeeper
server.1=localhost:2888:3888
Appreciate all your help/support in advance.