Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F256FE44E for ; Fri, 8 Feb 2013 04:07:19 +0000 (UTC) Received: (qmail 47503 invoked by uid 500); 8 Feb 2013 04:07:19 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 47225 invoked by uid 500); 8 Feb 2013 04:07:19 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 47146 invoked by uid 99); 8 Feb 2013 04:07:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2013 04:07:17 +0000 Date: Fri, 8 Feb 2013 04:07:17 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7785) rolling-restart.sh script unable to check expiration of master znode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-7785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574218#comment-13574218 ] Hudson commented on HBASE-7785: ------------------------------- Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #397 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/397/]) HBASE-7785 rolling-restart.sh script unable to check expiration of master znode (Samir Ahmic) (Revision 1443659) Result = FAILURE larsh : Files : * /hbase/trunk/bin/rolling-restart.sh > rolling-restart.sh script unable to check expiration of master znode > -------------------------------------------------------------------- > > Key: HBASE-7785 > URL: https://issues.apache.org/jira/browse/HBASE-7785 > Project: HBase > Issue Type: Bug > Components: scripts > Affects Versions: 0.94.4 > Environment: Linux CentOS release 5.8 > Reporter: Samir Ahmic > Fix For: 0.96.0, 0.94.5 > > Attachments: HBASE-7785.txt > > > When rolling-restart.sh script stop master it enters loop trying to detect that master znode is deleted. Since it is unable to execute check command script hangs in infinite loop. Problematic line of script is: > while ! bin/hbase zkcli stat $zmaster 2>&1 | grep "Node does not exist"; do > "bin/hbase zkcli stat" can not be executed since script is run from bin directory. My suggestion is that this line should be like this in order to work: > while ! "$bin"/hbase zkcli stat $zmaster 2>&1 | grep "Node does not exist"; do > After i made this change i was able to execute rolling restart. > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira