You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/10/17 19:41:59 UTC

[jira] [Updated] (HBASE-16326) CellModel / RowModel should override 'equals', 'hashCode' and 'toString'

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

Ted Yu updated HBASE-16326:
---------------------------
    Summary: CellModel / RowModel should override 'equals', 'hashCode' and 'toString'  (was: RowModel does not override 'equals', 'hashCode' and 'toString' (with CellModel))

> 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
>         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)