Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I installed by :

wget http://archive.cloudera.com/cdh/3/hbase-0.90.3-cdh3u1.tar.gz

This is my hbase_site.xml

<property>
    <name>hbase.master</name>
    <value>localhost:60000</value>
    <description>The host and port that the HBase master runs at.A value of 'local' runs the master and a regionserver in a single process.</description>
</property>
<property>
    <name>hbase.rootdir</name>
    <value>hdfs://localhost:9000/hdfs</value>
    <description>The directory shared by region servers.</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>
<property>
    <name>hbase.zookeeper.property.clientPort</name>
    <value>2183</value>
    <description>Property from ZooKeeper's config zoo.cfg.The port at which the clients will connect.</description>
</property>
<property>
    <name>hbase.zookeeper.quorum</name>
    <value>localhost</value>
    <description>Comma separated list of servers in the ZooKeeper Quorum.For example,"host1.mydomain.com,host2.mydomain.com".By default this is set to localhost for local and pseudo-distributed modes of operation. For afully-distributed setup, this should be set to a full list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in hbase-env.sh this is the list of servers which we will start/stop ZooKeeper on. </description>
</property>

hbase-env.h

# Tell HBase whether it should manage it's own instance of Zookeeper or not.
export HBASE_MANAGES_ZK=false

Here we are running our separate Zookeeper so needs to specify false. Default Hbase starts the default zookeeper compes up with Hbase.

#JAVA_HOME
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk

and when m starting hbase

<HBASE_HOME>/bin/start-hbase.sh

and try to open http://server:60010 it is not opening ?

why ?

share|improve this question
    
problem was that zookeeper was not started –  Rahul Mehta Oct 18 '11 at 6:04

2 Answers 2

From the comments - this problem was caused because zookeeper was not running.

share|improve this answer

Add "hadoop-core-.jar" from your HADOOP_HOME and "commons-configuration-.jar" from your HADOOP_HOME/lib into the HBASE_HOME/lib folder.Also edit the "hosts" file and replace "127.0.1.1" with "127.0.0.1".

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.