hbase-issues mailing list archives

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

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

Appy updated HBASE-14768:
-------------------------
    Component/s: scripts

> 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
>          Components: scripts
>            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