hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-14768) bin/graceful_stop.sh logs nothing as a balancer state to be stored
Date Thu, 05 Nov 2015 05:54:27 GMT

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

stack updated HBASE-14768:
--------------------------

Pushed to 0.98+  Thanks for the patch [~ikeda]

> bin/graceful_stop.sh logs nothing as a balancer state to be stored
> ------------------------------------------------------------------
>
>                 Key: HBASE-14768
>                 URL: https://issues.apache.org/jira/browse/HBASE-14768
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Hiroshi Ikeda
>            Assignee: Hiroshi Ikeda
>            Priority: Trivial
>             Fix For: 2.0.0, 1.2.0, 1.3.0, 1.0.3, 1.1.3, 0.98.16
>
>         Attachments: HBASE-14768.patch
>
>
> In bin/graceful_stop.sh
> {code}
> log() {
>   echo `date +%Y-%m-%dT%H:%M:%S` $1
> }
> ...skip...
> if [ $HBASE_BALANCER_STATE != "false" ]; then
>   log "Restoring balancer state to " $HBASE_BALANCER_STATE
> {code}
> The position of the above last double quotation mark is wrong, and the balancer state
will be not shown.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message