[
https://issues.apache.org/jira/browse/HBASE-22049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16796748#comment-16796748
]
Jingyun Tian commented on HBASE-22049:
--------------------------------------
[~stack] why we doesn't write the state SPLIT to column state now? When Master
restart the RegionStateStore cannot recover the state SPLIT based on the
information in meta currently.
Maybe the best way to solve this problem is to add the state SPLIT to meta as
how we did before?
> getReopenStatus() didn't skip counting split parent region
> ----------------------------------------------------------
>
> Key: HBASE-22049
> URL: https://issues.apache.org/jira/browse/HBASE-22049
> Project: HBase
> Issue Type: Bug
> Reporter: Jingyun Tian
> Assignee: Jingyun Tian
> Priority: Major
> Attachments: HBASE-22049.master.001.patch,
> HBASE-22049.master.002.patch, HBASE-22049.master.003.patch
>
>
> After we modify some attributes of table, hbaseAdmin will getAlterStatus to
> check if all region's attributes updated. It will skip opened region and
> split region as the following code shows.
> {code}
> for (RegionState regionState: states) {
> if (!regionState.isOpened() && !regionState.isSplit()) {
> ritCount++;
> }
> }
> {code}
> But since now the split procedure is to unassign the split parent region,
> thus the state is CLOSED, and the check will hang there until timeout.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)