hadoop - Hbase with zookeeper configuration , Hmaster is not starting -
i traying configure hbase , zookeeper on standalone single pc.
i downloaded zookeeper , configured zoo.cfg below
ticktime=2000 initlimit=10 synclimit=5 datadir=/tmp/zookeeper/data clientport=2181 i started zookeper ./zkserver.sh start , can see quorumpeermain process coming .
then tried hbase config did below setting hbase-site.xml
<configuration> <property> <name>hbase.rootdir</name> <value>hdfs://localhost:9000/hbase</value> </property> <property> <name>hbase.zookeeper.property.datadir</name> <value>/tmp/zookeeper</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>localhost</value> </property> </configuration> and set export hbase_manages_zk=false in hbase-env.sh.
when start ./start-hbase.sh not give error hmaster process in not coming .
but if stop zookeeper , try start hbase hmaster comes .
i need explicit zookeeper hbase, there configuration missing .. ?
Comments
Post a Comment