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 6E601108BC for ; Wed, 27 Nov 2013 14:37:43 +0000 (UTC) Received: (qmail 44189 invoked by uid 500); 27 Nov 2013 14:37:39 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 44135 invoked by uid 500); 27 Nov 2013 14:37:37 -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 44108 invoked by uid 99); 27 Nov 2013 14:37:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Nov 2013 14:37:36 +0000 Date: Wed, 27 Nov 2013 14:37:36 +0000 (UTC) From: "Samir Ahmic (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-10050) graceful_stop.sh syntax error 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-10050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Samir Ahmic updated HBASE-10050: -------------------------------- Attachment: HBASE-10050.patch Here is patch. > graceful_stop.sh syntax error > ----------------------------- > > Key: HBASE-10050 > URL: https://issues.apache.org/jira/browse/HBASE-10050 > Project: HBase > Issue Type: Bug > Components: scripts > Affects Versions: 0.96.0 > Environment: x86_64 GNU/Linux > Reporter: Samir Ahmic > Attachments: HBASE-10050.patch > > > When i was trying to run graceful_stop.sh i got error: > {code} > ./graceful_stop.sh: line 59: syntax error near unexpected token `;' > ./graceful_stop.sh: line 59: ` --failfast) ;&' > {code} > After looking at script i notice that this lines are causing error: > {code} > --failfast) ;& > -e) failfast=true; shift;; > --debug) ;& > -d) debug="--debug"; shift;; > {code} > They sholud be changed to this: > {code} > --failfast | -e) failfast=true; shift;; > --debug | -d) debug="--debug"; shift;; > {code} > I will attach patch today. -- This message was sent by Atlassian JIRA (v6.1#6144)