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