You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2022/08/05 13:38:00 UTC
[jira] [Commented] (HBASE-27275) graceful_stop.sh unable to restore the balance state
[ https://issues.apache.org/jira/browse/HBASE-27275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17575846#comment-17575846 ]
Duo Zhang commented on HBASE-27275:
-----------------------------------
Which line is head and which line is tail here?
> graceful_stop.sh unable to restore the balance state
> ----------------------------------------------------
>
> Key: HBASE-27275
> URL: https://issues.apache.org/jira/browse/HBASE-27275
> Project: HBase
> Issue Type: Bug
> Components: regionserver
> Affects Versions: 2.5.0, 3.0.0-alpha-4
> Reporter: LiangJun He
> Assignee: LiangJun He
> Priority: Blocker
>
> When executing the command ’graceful_stop.sh --restart --reload‘, the balance state cannot be restored normally. Because the related command returned the wrong result:
> {code:java}
> HBASE_BALANCER_STATE=$(echo 'balance_switch false' | hbase shell -n | tail -1)
> echo ${HBASE_BALANCER_STATE}
> hbase:002:0>
> {code}
>
> The information returned by the current "echo 'balance_switch false' | hbase shell -n" is as follows:
> hbase:001:0> balance_switch false
> Previous balancer state : false
> Took 0.6787 seconds
> => false
> hbase:002:0>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)