hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10050) graceful_stop.sh syntax error
Date Thu, 28 Nov 2013 09:55:39 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834672#comment-13834672
] 

Hudson commented on HBASE-10050:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #854 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/854/])
HBASE-10050 graceful_stop.sh syntax error (stack: rev 1546212)
* /hbase/trunk/bin/graceful_stop.sh


> 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
>             Fix For: 0.98.0, 0.96.1
>
>         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)

Mime
View raw message