title: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
body: <p>I am trying to setup the multinode cluster of Hbase. When i do the jps on slave i get</p>
  
  <pre><code>5780 Jps
  5558 HQuorumPeer
  5684 HRegionServer
  1963 DataNode
  2093 TaskTracker
  </code></pre>
  
  <p>similarly on master i get </p>
  
  <pre><code>4254 SecondaryNameNode
  15226 Jps
  14982 HMaster
  3907 NameNode
  14921 HQuorumPeer
  4340 JobTracker
  </code></pre>
  
  <p>EVerything is runnnig properly. But when i try to create table on hbase shell. It gives an error </p>
  
  <pre><code>ERROR: org.apache.hadoop.hbase.PleaseHoldException: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
  </code></pre>
  
  <p>regionserver log of my slave(where region server is running):</p>
  
  <pre><code>2013-06-11 13:09:53,119 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Attempting connect to Master server at localhost,60000,137093$
  2013-06-11 13:10:53,190 WARN org.apache.hadoop.hbase.regionserver.HRegionServer: Unable to connect to master. Retrying. Error was:
  org.apache.hadoop.hbase.ipc.HBaseClient$FailedServerException: This server is in the failed servers list: localhost/127.0.0.1:60000
          at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:425)
          at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1124)
          at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:974)
          at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:86)
          at $Proxy8.getProtocolVersion(Unknown Source)
          at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:138)
          at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:208)
          at org.apache.hadoop.hbase.regionserver.HRegionServer.getMaster(HRegionServer.java:2037)
          at org.apache.hadoop.hbase.regionserver.HRegionServer.reportForDuty(HRegionServer.java:2083)
          at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:744)
          at java.lang.Thread.run(Thread.java:722)
  2013-06-11 13:10:53,391 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Attempting connect to Master server at localhost,60000,137093$
  </code></pre>
  
  <p>FYI, i have also took care of /etc/hosts file on both master and slave.</p>
  
  <pre><code>127.0.0.1       localhost
  127.0.0.1       naresh-PC
  </code></pre>
  
  <p>I again did changes in /etc/hosts file 127.0.1.1 to naresh-PC. But still getting this error</p>
  
  <pre><code>2013-06-11 14:51:17,781 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Attempting connect to Master server at naresh-pc,60000,137094$
  2013-06-11 14:52:17,817 WARN org.apache.hadoop.hbase.regionserver.HRegionServer: Unable to connect to master. Retrying. Error was:
  java.net.UnknownHostException: unknown host: naresh-pc
          at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.&lt;init&gt;(HBaseClient.java:276)
          at org.apache.hadoop.hbase.ipc.HBaseClient.createConnection(HBaseClient.java:255)
          at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1111)
          at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:974)
          at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:86)
          at $Proxy8.getProtocolVersion(Unknown Source)
          at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:138)
          at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:208)
          at org.apache.hadoop.hbase.regionserver.HRegionServer.getMaster(HRegionServer.java:2037)
          at org.apache.hadoop.hbase.regionserver.HRegionServer.reportForDuty(HRegionServer.java:2083)
          at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:744)
          at java.lang.Thread.run(Thread.java:722)
  </code></pre>