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

client.Result uses inverted Comparator<Long> in the versionMap (containted in familyMap)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • 0.89.20100924
    • None
    • None

    Description

      In getMap() method the comparator passed to versionMap does:

      public int compare(Long l1, Long l2)

      { return l2.compareTo(l1); }

      which inverts the result of the comparison.

      Attachments

        Activity

          People

            Unassigned Unassigned
            iivalchev Ivan Valchev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: