You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hiroshi Ikeda (JIRA)" <ji...@apache.org> on 2015/11/05 06:49:27 UTC

[jira] [Updated] (HBASE-14768) bin/graceful_stop.sh logs nothing as a balancer state to be stored

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

Hiroshi Ikeda updated HBASE-14768:
----------------------------------
    Attachment: HBASE-14768.patch

Added a patch.

> 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
>            Priority: Trivial
>         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)