Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16326

CellModel / RowModel should override 'equals', 'hashCode' and 'toString'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.0.0
    • REST
    • None
    • Reviewed

    Description

      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

      Attachments

        1. HBASE-16326.master.001.patch
          7 kB
          Minwoo Kang

        Issue Links

          Activity

            People

              minwoo.kang Minwoo Kang
              minwoo.kang Minwoo Kang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: