hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-16326) CellModel / RowModel should override 'equals', 'hashCode' and 'toString'
Date Mon, 17 Oct 2016 19:42:58 GMT

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

Ted Yu updated HBASE-16326:
---------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.0.0
           Status: Resolved  (was: Patch Available)

Thanks for the patch, Minwoo

> CellModel / RowModel should override 'equals', 'hashCode' and 'toString'
> ------------------------------------------------------------------------
>
>                 Key: HBASE-16326
>                 URL: https://issues.apache.org/jira/browse/HBASE-16326
>             Project: HBase
>          Issue Type: Bug
>          Components: REST
>            Reporter: Minwoo Kang
>            Assignee: Minwoo Kang
>            Priority: Trivial
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16326.master.001.patch
>
>
> I create two RowModel.
> Each RowModel have same value.
> But RowModel does not override 'equals'.
> So 'rowModel1.equals(rowModel2)' is false.
> And While run System.out.println(rowModel), print 'org.apache.hadoop.hbase.rest.model.RowModel@44019852'
in console



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

Mime
View raw message