hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chunhui shen (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5563) HRegionInfo#compareTo add the comparison of regionId
Date Tue, 13 Mar 2012 03:43:51 GMT

    [ https://issues.apache.org/jira/browse/HBASE-5563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228171#comment-13228171
] 

chunhui shen commented on HBASE-5563:
-------------------------------------

@stack
Because of some bug, we find same region assigned twice on two RS, however these two regions
will both be splitted and the new four regions has the same startKey and endKey, caused serious
unconsistent.

I find the one with the larger regionid should sort before the region with the lesser regionid,
otherwise AssignmentManager#getRegionsOfTable() will return error regions.

Could run hadoopqa with patchv2 again?
Thanks.
                
> HRegionInfo#compareTo add the comparison of regionId
> ----------------------------------------------------
>
>                 Key: HBASE-5563
>                 URL: https://issues.apache.org/jira/browse/HBASE-5563
>             Project: HBase
>          Issue Type: Bug
>            Reporter: chunhui shen
>            Assignee: chunhui shen
>         Attachments: HBASE-5563.patch, HBASE-5563v2.patch
>
>
> In the one region multi assigned case,  we could find that two regions have the same
table name, same startKey, same endKey, and different regionId, so these two regions are same
in TreeMap but different in HashMap.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message