You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2013/11/27 23:24:35 UTC

[jira] [Resolved] (HBASE-10050) graceful_stop.sh syntax error

     [ https://issues.apache.org/jira/browse/HBASE-10050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-10050.
---------------------------

       Resolution: Fixed
    Fix Version/s: 0.96.2
                   0.98.0
     Hadoop Flags: Reviewed

Committed to 0.96 and trunk.  Thank you for improving our script portability [~asamir]  [~lhofhansl] You want this in 0.94?

> 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.2
>
>         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)