[
https://issues.apache.org/jira/browse/HBASE-29190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Junegunn Choi updated HBASE-29190:
----------------------------------
Description:
This sub-task implements proposal 1-2 suggested in HBASE-29136.
Currently, when we try to disable regions in {{FAILED_OPEN}} state, HBase will
try to reassign them before disabling it. I don't think this was an intended
behavior.
https://github.com/apache/hbase/blob/e00f492a216a8827cb1d47ded6e259ddc691d764/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.java#L400-L404
So the operator should modify the records in the meta table using hbck
beforehand, if they want to disable a table with {{FAILED_OPEN}} regions (e.g.
after a faulty ALTER operation).
was:
This sub-task implements proposal 1-2 suggested in HBASE-29136.
Currently, when we try to disable regions in {{FAILED_OPEN}} state, HBase will
try to reassign them before disabling it. This is not
so the operator should modify the records in the meta table using hbck, if they
want to disable and/or delete a table with {{FAILED_OPEN}} regions.
> Allow disabling regions in FAILED_OPEN state
> --------------------------------------------
>
> Key: HBASE-29190
> URL: https://issues.apache.org/jira/browse/HBASE-29190
> Project: HBase
> Issue Type: Sub-task
> Reporter: Junegunn Choi
> Assignee: Junegunn Choi
> Priority: Major
> Labels: pull-request-available
>
> This sub-task implements proposal 1-2 suggested in HBASE-29136.
> Currently, when we try to disable regions in {{FAILED_OPEN}} state, HBase
> will try to reassign them before disabling it. I don't think this was an
> intended behavior.
> https://github.com/apache/hbase/blob/e00f492a216a8827cb1d47ded6e259ddc691d764/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.java#L400-L404
> So the operator should modify the records in the meta table using hbck
> beforehand, if they want to disable a table with {{FAILED_OPEN}} regions
> (e.g. after a faulty ALTER operation).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)