hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19276) RegionPlan should correctly implement equals and hashCode
Date Fri, 17 Nov 2017 03:36:01 GMT

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

Hudson commented on HBASE-19276:

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #4065 (See [https://builds.apache.org/job/HBase-Trunk_matrix/4065/])
HBASE-19276 RegionPlan should correctly implement equals and hashCode (stack: rev 6f9651b41741ac8c0d3ea0bb48cdeebf2101585e)
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestRegionPlan.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionPlan.java

> RegionPlan should correctly implement equals and hashCode
> ---------------------------------------------------------
>                 Key: HBASE-19276
>                 URL: https://issues.apache.org/jira/browse/HBASE-19276
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Andrew Purtell
>            Assignee: stack
>             Fix For: 1.4.0, 2.0.0-beta-1
>         Attachments: HBASE-19276-branch-1.patch, HBASE-19276.branch-1.001.patch, HBASE-19276.master.001.patch,
HBASE-19276.master.002.patch, HBASE-19276.patch
> error-prone identified dodgy code in AssignmentManager where we are relying on reference
(object) equality to do the right thing, and are getting lucky, because if we properly used
equals() the result is wrong, because RegionPlan does not correctly implement equals and hashCode
according to the JDK contracts for same. 

This message was sent by Atlassian JIRA

View raw message