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
<property>
<name>hbase.rootdir</name>
<value>hdfs://shanmuganathanr:54310/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
<description>Property from ZooKeeper’s config zoo.cfg.The port at
which the clients will connect.
</description>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/hadoop/zookeeperdata</value>
<description>Property from ZooKeeper’s config zoo.cfg. The
directory where the snapshot is stored.
</description>
</property>
<property>
<name>hbase.master.port</name>
<value>60000</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>192.168.111.101,192.168.111.102,192.168.111.103</value>
</property>
Regards
Shanmuganathan