I have a fully distributed Hadoop and Hbase instances of two nodes. HDFS working perfectly on the master and the slave. But HBase shell works only one time after the nodename is formated and the cluster is new after that I get the error: ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing hbase
Also I can not connect through hbase shell from the slave I always get the error Connection Refused and in the HBase Web UI, I only can see on regionserver which is the master node
Master hbase-site.xml:
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://master:9000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>master,slave</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/usr/local/hbase-1.2.1/data/zookeeper</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
</property>
<property>
<name>hbase.regionserver.thrift.framed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.property.maxClientCnxns</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.thrift.server.type</name>
<value>TThreadPoolServer</value>
</property>
<property>
<name>avatica.statementcache.maxcapacity</name>
<value>20000</value>
</property>
</configuration>
Slave hbase-site.xml
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://master:9000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.property.maxClientCnxns</name>
<value>1000</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
</property>
</configuration>
JPS Master:
JPS Slave: