|
|
Samir Ahmic 2013-02-06, 10:47
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
HBASE-5603 has been closed.
Mind filing a new JIRA ?
On Wed, Feb 6, 2013 at 2:47 AM, Samir Ahmic <[EMAIL PROTECTED]> wrote:
> 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 >
Samir Ahmic 2013-02-06, 18:55
Sure thing. I will fill JIRA Cheers
On Wed, Feb 6, 2013 at 6:20 PM, Ted Yu <[EMAIL PROTECTED]> wrote: > HBASE-5603 has been closed. > > Mind filing a new JIRA ? > > On Wed, Feb 6, 2013 at 2:47 AM, Samir Ahmic <[EMAIL PROTECTED]> wrote: > >> 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 >>
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext