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

Hudson commented on HBASE-19532:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #4252 (See 
[https://builds.apache.org/job/HBase-Trunk_matrix/4252/])
HBASE-19532 AssignProcedure#COMPARATOR may produce incorrect sort order (tedyu: 
rev 7a7e55b601578f18b4eab0faaae060330c707b44)
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignProcedure.java
* (edit) 
hbase-server/src/test/java/org/apache/hadoop/hbase/master/snapshot/TestAssignProcedure.java


> AssignProcedure#COMPARATOR may produce incorrect sort order
> -----------------------------------------------------------
>
>                 Key: HBASE-19532
>                 URL: https://issues.apache.org/jira/browse/HBASE-19532
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Critical
>             Fix For: 2.0.0-beta-1
>
>         Attachments: 19532.v1.txt, 19532.v2.txt, 19532.v3.txt, 19532.v4.txt
>
>
> The intention of AssignProcedure#COMPARATOR is to put the regions in the 
> following order:
> meta regions
> system table regions
> user table regions
> However, the current implementation may produce incorrect sort order.
> With the modified test, the test fails with:
> {code}
> testComparatorWithMetas(org.apache.hadoop.hbase.master.snapshot.TestAssignProcedure)
>   Time elapsed: 0.038 sec  <<< FAILURE!
> junit.framework.AssertionFailedError
>   at 
> org.apache.hadoop.hbase.master.snapshot.TestAssignProcedure.testComparatorWithMetas(TestAssignProcedure.java:88)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to