You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "LiangJun He (Jira)" <ji...@apache.org> on 2022/08/05 13:17:00 UTC
[jira] [Updated] (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:all-tabpanel ]
LiangJun He updated HBASE-27275:
--------------------------------
Description:
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>
was:
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}
> 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)