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

previous outputs not cleared by ReduceDriver.run()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.0.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: