hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Buttler, David" <buttl...@llnl.gov>
Subject RE: Doubt in hbase installation?
Date Wed, 27 Jul 2011 16:11:21 GMT
You probably don't need the data directory in hbase-site.xml, but the rest look important.
 If you have an independent zookeeper installation, hbase still needs to know how to connect
to it.

Dave


-----Original Message-----
From: shanmuganathan.r [mailto:shanmuganathan.r@zohocorp.com] 
Sent: Wednesday, July 27, 2011 2:08 AM
To: user@hbase.apache.org
Subject: Doubt in hbase installation?


Hi All,

            I have some doubt in the installation of hbase in fully distributed mode. 
In my configuration the hbase does not manage the zookeeper. I added zoo.cfg in zookeeper
configuration file . Also specified some configuration in the hbase-site.xml file.
Are the two configurations required for my zookeeper or any one is enough?


My zoo.cfg file 


            tickTime=2000
            dataDir=/home/hadoop/zookeeperdata
            clientPort=2181
            initLimit=5
            syncLimit=2
            server.1=192.168.111.101:2888:3888
            server.2=192.168.111.102:2888:3888
            server.3=192.168.111.103:2888:3888            


hbase-site.xml


  &lt;property&gt;
        &lt;name&gt;hbase.rootdir&lt;/name&gt;
        &lt;value&gt;hdfs://shanmuganathanr:54310/hbase&lt;/value&gt;
  &lt;/property&gt;


  &lt;property&gt;
        &lt;name&gt;hbase.cluster.distributed&lt;/name&gt;
        &lt;value&gt;true&lt;/value&gt;
  &lt;/property&gt;


  &lt;property&gt;
        &lt;name&gt;hbase.zookeeper.property.clientPort&lt;/name&gt;
        &lt;value&gt;2181&lt;/value&gt;
        &lt;description&gt;Property from ZooKeeper’s config zoo.cfg.The port at
which the clients will connect.
        &lt;/description&gt;
  &lt;/property&gt;


  &lt;property&gt;
        &lt;name&gt;hbase.zookeeper.property.dataDir&lt;/name&gt;
        &lt;value&gt;/home/hadoop/zookeeperdata&lt;/value&gt;
        &lt;description&gt;Property from ZooKeeper’s config zoo.cfg. The directory
where the snapshot is stored.
        &lt;/description&gt;
  &lt;/property&gt;


  &lt;property&gt;
        &lt;name&gt;hbase.master.port&lt;/name&gt;
        &lt;value&gt;60000&lt;/value&gt;
  &lt;/property&gt;


  &lt;property&gt;
        &lt;name&gt;hbase.zookeeper.quorum&lt;/name&gt;
        &lt;value&gt;192.168.111.101,192.168.111.102,192.168.111.103&lt;/value&gt;
  &lt;/property&gt;




Regards


Shanmuganathan
Mime
View raw message