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

        Ed Kohlwey created issue -
        Aaron Kimball made changes -
        Field Original Value New Value
        Assignee Aaron Kimball [ kimballa ]
        Aaron Kimball made changes -
        Attachment MAPREDUCE-1128.patch [ 12423386 ]
        Aaron Kimball made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Aaron Kimball made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Aaron Kimball made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Chris Douglas made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Fix Version/s 0.22.0 [ 12314184 ]
        Resolution Fixed [ 1 ]
        Chris Douglas made changes -
        Component/s contrib/mrunit [ 12313274 ]
        Tom White made changes -
        Fix Version/s 0.21.0 [ 12314045 ]
        Fix Version/s 0.22.0 [ 12314184 ]
        Tom White made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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