[
https://issues.apache.org/jira/browse/HBASE-14768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Dimiduk updated HBASE-14768:
---------------------------------
Summary: bin/graceful_stop.sh logs nothing as a balancer state to be stored
(was: z)
> 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: 1.2.0, 1.3.0, 1.0.3, 1.1.3, 0.98.16, 2.0.0
>
> 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
(v8.20.10#820010)