You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by ilayaraja <il...@rediff.co.in> on 2009/08/26 07:28:45 UTC

HBase master not starting

Hello,

Iam trying to setup Hbase-0.20 with Hadoop-0.20 in fully distributed mode.
I have problem while starting the Hbase master: The stack trace is as follows



2009-08-26 01:18:31,454 INFO org.apache.hadoop.hbase.master.HMaster: My address is domU-12-31-39-00-0A-52.compute-1.internal:60000
2009-08-26 01:18:32,600 FATAL org.apache.hadoop.hbase.master.HMaster: Not starting HMaster because:
        at java.io.DataInputStream.readUTF(DataInputStream.java:572)
        at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:323)
java.io.EOFException

Please help me out with this. Below is my hbase-site.xml

<configuration>
  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://domU-12-31-39-00-28-52.compute-1.internal:40010/hbase</value>
    <description>The directory shared by region servers.
    </description>
  </property>

  <property>
    <name>hbase.master</name>
    <value>domU-12-31-39-00-28-52.compute-1.internal:60000</value>
    <description>The host and port that the HBase master runs at.
    </description>
  </property>

  <property>
    <name>hbase.master.port</name>
    <value>60000</value>
    <description>The port master should bind to.</description>
  </property>

  <property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
    <description>The mode the cluster will be in. Possible values are
      false: standalone and pseudo-distributed setups with managed Zookeeper
      true: fully-distributed with unmanaged Zookeeper Quorum (see hbase-env.sh)
    </description>
  </property>

</configuration>



Re: HBase master not starting

Posted by Jean-Daniel Cryans <jd...@apache.org>.
Did you create this folder prior to starting hbase?
hdfs://domU-12-31-39-00-28-52.compute-1.internal:40010/hbase
If so, delete it because HBase expects to create it.

Also since you set hbase.cluster.distributed to true then you should
also set the hbase.zookeeper.quorum configuration. And setting
hbase.master in 0.20 won't do anything, you can remove it.

J-D

On Wed, Aug 26, 2009 at 1:28 AM, ilayaraja<il...@rediff.co.in> wrote:
> Hello,
>
> Iam trying to setup Hbase-0.20 with Hadoop-0.20 in fully distributed mode.
> I have problem while starting the Hbase master: The stack trace is as follows
>
>
>
> 2009-08-26 01:18:31,454 INFO org.apache.hadoop.hbase.master.HMaster: My address is domU-12-31-39-00-0A-52.compute-1.internal:60000
> 2009-08-26 01:18:32,600 FATAL org.apache.hadoop.hbase.master.HMaster: Not starting HMaster because:
>        at java.io.DataInputStream.readUTF(DataInputStream.java:572)
>        at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:323)
> java.io.EOFException
>
> Please help me out with this. Below is my hbase-site.xml
>
> <configuration>
>  <property>
>    <name>hbase.rootdir</name>
>    <value>hdfs://domU-12-31-39-00-28-52.compute-1.internal:40010/hbase</value>
>    <description>The directory shared by region servers.
>    </description>
>  </property>
>
>  <property>
>    <name>hbase.master</name>
>    <value>domU-12-31-39-00-28-52.compute-1.internal:60000</value>
>    <description>The host and port that the HBase master runs at.
>    </description>
>  </property>
>
>  <property>
>    <name>hbase.master.port</name>
>    <value>60000</value>
>    <description>The port master should bind to.</description>
>  </property>
>
>  <property>
>    <name>hbase.cluster.distributed</name>
>    <value>true</value>
>    <description>The mode the cluster will be in. Possible values are
>      false: standalone and pseudo-distributed setups with managed Zookeeper
>      true: fully-distributed with unmanaged Zookeeper Quorum (see hbase-env.sh)
>    </description>
>  </property>
>
> </configuration>
>
>
>