hbase-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/HBASE-13119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Enis Soztutar updated HBASE-13119:
----------------------------------
    Attachment: hbase-13119_v1.patch

Here is a simple patch. 

[~mbertozzi], [~jmhsieh] mind a quick review? 

> 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