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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: 0.89.20100924
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: