i want to run hbase in pseudo distributed mode, installation is from scratch.
step followed
- start HBase.
- Start HBase Master Server
- Start the region server a
- Start HBase Shell
- execute list
Hbase started normally so the hbase shell. When i checked zookeeper, master as well region all server were up. For any query on hbase shell prompt, i am getting this error.
Error - Can't get master address from ZooKeeper; znode data == null
code- configuration -
hbase-site.xml
<configuration>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
//Here you have to set the path where you want HBase to store its files.
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:8030/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/hadoop/zookeeper</value>
</property>
</configuration>
Above is my hbase-site.xml
configuration.
Please help me to understand that what i am missing.
/hbase/master
in zookeeper, it's abnormal as the error log declaims. maybe you can add to the steps what exact command you execute. – sel-fish