hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Antonov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13119) FileLink should implement equals
Date Fri, 27 Feb 2015 01:34:04 GMT

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

Mikhail Antonov commented on HBASE-13119:
-----------------------------------------

(Looks good to me.. I'm assuming that "Assumes that the ordering of locations between objects
are the same." would hold true in foreseeable future))

> FileLink should implement equals
> --------------------------------
>
>                 Key: HBASE-13119
>                 URL: https://issues.apache.org/jira/browse/HBASE-13119
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 2.0.0, 1.1.0
>
>         Attachments: hbase-13119_v1.patch
>
>
> StoreFileInfo used to implement Comparable, but got changed in HBASE-12749. Now comparing
StoreFileInfo's with links results in false, since FileLink/HFileLink does not implement equals().

> We should do both equals and hashCode() it seems. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message