title: Hmaster is not running
body: <p>I am new to Hadoop and Hbase. I am running Hbase on my local file system and tried creating some table through Hbase but came to know that Hmaster is not getting started. I changed the hbase-site.xml, but seems no improvement. I have the following entries in my xml:</p>
  
  <pre><code>&lt;property&gt;
      &lt;name&gt;hbase.rootdir&lt;/name&gt;
      &lt;value&gt;file:///home/cluster/hbase&lt;/value&gt;
  &lt;/property&gt;
  
  
  &lt;property&gt;
      &lt;name&gt;hbase.master&lt;/name&gt;
      &lt;value&gt;localhost:9000&lt;/value&gt;
  &lt;/property&gt;
  
  &lt;property&gt;
      &lt;name&gt;hbase.zookeeper.quorum&lt;/name&gt;
              &lt;value&gt;localhost&lt;/value&gt;
  &lt;/property&gt;
  
   &lt;property&gt;    
      &lt;name&gt;hbase.zookeeper.property.dataDir&lt;/name&gt;
      &lt;value&gt;file:///home/cluster/zooKeeper&lt;/value&gt;    
  &lt;/property&gt;
  </code></pre>
  
  <h2>localhost :127.0.0.1</h2>
  
  <p>exception is :</p>
  
  <pre><code>java.net.ConnectException: Call to localhost/127.0.0.1:9000 failed on connection exception: java.net.ConnectException: Connection refused
      at org.apache.hadoop.ipc.Client.wrapException(Client.java:1099)
      at org.apache.hadoop.ipc.Client.call(Client.java:1075)
      at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
      at com.sun.proxy.$Proxy11.getProtocolVersion(Unknown Source)
      at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
      at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379)
      at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:119)
      at org.apache.hadoop.hdfs.DFSClient.&lt;init&gt;(DFSClient.java:238)
      at org.apache.hadoop.hdfs.DFSClient.&lt;init&gt;(DFSClient.java:203)
      at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89)
      at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1386)
      at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
      at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1404)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:123)
      at org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:191)
      at org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:420)
      at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:149)
      at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:104)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
      at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
      at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2044)
  Caused by: java.net.ConnectException: Connection refused
  </code></pre>