Uploaded image for project: 'MRUnit'
  1. MRUnit
  2. MRUNIT-114

should support calling configure on sorting and grouping comparators if applicable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Labels:
      None

      Description

      From Jacob Metcalf:

      On another subject (maybe I need a new thread/JIRA for this) is it intentional that the configuration is not applied to the sorting and grouping comparators?
      I am writing my own multiple input MR driver to test a reduce side join and had to do:
      // Configure grouping and sorting comparators
      if (keyGroupComparator instanceof Configured )

      { ((Configured)keyGroupComparator).setConf( configuration ); }

      if (keyValueOrderComparator instanceof Configured)

      { ((Configured)keyValueOrderComparator).setConf( configuration ); }

      To get the config applied even though they are Configured objects.

        Attachments

          Activity

            People

            • Assignee:
              jdonofrio Jim Donofrio
              Reporter:
              jacobmetcalf Jacob Metcalf
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: