Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20.1
    • Fix Version/s: 0.21.0
    • Component/s: contrib/mrunit
    • Labels:
      None
    • Environment:

      Java 1.6, Hadoop 0.21.1+133 (cloudera distribution for hadoop)

    • Hadoop Flags:
      Reviewed

      Description

      MRUnit allows one to iterate over a collection of values twice (ie.

      reduce(Key key, Iterable<Value> values, Context context){
      for(Value : values ) /* iterate once */;
      for(Value : values ) /* iterate again */;
      }

      Hadoop will allow this as well, however the second iterator will be empty. MRUnit should either match hadoop's behavior or warn the user that their code is likely flawed.

        Attachments

          Activity

            People

            • Assignee:
              kimballa Aaron Kimball
              Reporter:
              ekohlwey Ed Kohlwey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified