Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      current mapreduce api is using RawComparator interface in:

      setGroupingComparatorClass
      setSortComparatorClass

      This interface has no lifecycle support. I propose to change that methods to take argument new class implements RawComparator with setup and cleanup methods.

      This will leave existing code with RawComparator alone, Providing some backward compatibility.

      new class:

      class SortComparator implements RawComparator

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hsn Radim Kolar
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: