[
https://issues.apache.org/jira/browse/HBASE-12686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14247479#comment-14247479
]
Virag Kothari commented on HBASE-12686:
---------------------------------------
bq.
if (rs.isSplitting()) {
// Check if the daugter regions are still there, if they
are present, offline
// as its the case of a rollback.
HRegionInfo hri_a = splitRegions.get(regionInfo).getFirst();
splitRegions() map might not have an entry if the SPLITTING state was added
during startup (case 'RS_ZK_REGION_SPLIT' of processRegionsInTransition()).
Need a contains check to avoid NPE on getFirst().
> Failures in split before PONR not clearing the daughter regions from regions
> in transition during rollback
> ----------------------------------------------------------------------------------------------------------
>
> Key: HBASE-12686
> URL: https://issues.apache.org/jira/browse/HBASE-12686
> Project: HBase
> Issue Type: Bug
> Components: Region Assignment
> Affects Versions: 0.98.9
> Reporter: Rajeshbabu Chintaguntla
> Assignee: Vandana Ayyalasomayajula
> Priority: Blocker
> Fix For: 1.0.0, 0.98.9
>
> Attachments: HBASE-12686-98.1.patch, HBASE-12686-98.2.patch,
> HBASE-12686-98.patch, HBASE-12686-branch-1.1.patch,
> HBASE-12686-branch-1.2.patch, HBASE-12686-branch-1.patch
>
>
> If there are any split failures then the both daughter regions left in
> SPLITTING_NEW transition even after rollback, which will block balancing to
> happen forever until unless master is restarted.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)