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

previous outputs not cleared by ReduceDriver.run()

    Details

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

      Description

      I have a unit test that reuses the same ReduceDriver with 2 different sets of inputs. With 1.0.0, the second call to reduceDriver.run() returns the first run's outputs as well as the second's. This is a regression since 0.9.0-incubating.

      Pseudocode:

      // called twice
      reduceDriver.setInputKey(key);
      for (int i = 0; i < 5 ; ++i)

      { reduceDriver.addInputValue(v); }

      List<Pair<K, V>> outputs = reduceDriver.run();

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jnovak Jason Novak
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: