Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Aaron Kimball
            Reporter:
            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

                Development