Uploaded image for project: 'Hama'
  1. Hama
  2. HAMA-878

PartitioningRunner.Sorter doesn't allows duplicate key

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.7.0
    • 0.7.0
    • None
    • None

    Description

      My mistake. I used SortedMap to compare keys when merge sort. So, some records contains duplicate key can be ignored.

      public SortedMap<WritableComparable, KeyValuePair<Integer, KeyValuePair>> comparisonMap = new TreeMap<WritableComparable, KeyValuePair<Integer, KeyValuePair>>();

      Attachments

        1. HAMA-878.patch
          4 kB
          Edward J. Yoon

        Activity

          People

            udanax Edward J. Yoon
            udanax Edward J. Yoon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: