Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> HBASE-5603 fix


Copy link to this message
-
HBASE-5603 fix
Hi all,

I have tried rolling-restart.sh and it still hangs on waiting for master
znode to expire from zookeeper. After little poking around i notices that
issue is caused by following line in rolling-restart.sh:

while ! bin/hbase zkcli stat $zmaster 2>&1 | grep "Node does not exist"; do

I believe problem is how is command executed "bin/hbase zkcli" will not
work from bin directory.  After i changed this line to:

while ! "$bin"/hbase zkcli stat $zmaster 2>&1 | grep "Node does not exist";
do

script is working fine for me. I'm using hbase-0.94.4 and zookeeper-3.3.4
Regards
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB