hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiroshi Ikeda (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:49:27 GMT

     [ 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)

Mime
View raw message