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

MRunit ReduceDriver does not fully replicate the reducers behaviour with reusing pointers over the iterator

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.8.0
    • Labels:
      None

      Description

      The MRunit ReduceDriver does not replicate the behaviour of re-using the pointer to the returned values as they are iterated over. This is a problem for testing as it does not fail when you are incorrectly storing this pointer for a value if you want to use it later on in the iteration over the values.

      The behaviour should be modified so the iterator will return the same pointer every time.

      1. MRUNIT-19-1.patch
        16 kB
        Brock Noland

        Activity

        Hide
        brocknoland Brock Noland added a comment -

        Committed in 1207626.

        Show
        brocknoland Brock Noland added a comment - Committed in 1207626.
        Hide
        brocknoland Brock Noland added a comment -

        Attached the patch I plan on committing for this.

        Show
        brocknoland Brock Noland added a comment - Attached the patch I plan on committing for this.
        Hide
        esammer E. Sammer added a comment -

        Dan:

        Since MRUnit has been broken out from contrib, I've moved the bug over under the new mrunit project.

        Show
        esammer E. Sammer added a comment - Dan: Since MRUnit has been broken out from contrib, I've moved the bug over under the new mrunit project.
        Hide
        danharvey Dan Harvey added a comment -

        This was discussed in the mailing lists last year

        http://mail-archives.apache.org/mod_mbox/hadoop-mapreduce-user/201012.mbox/%3CAANLkTinMDb9NLkNXYQg=8=aFBbQt7GNuZoVpk8+avcqj@mail.gmail.com%3E

        We've got code for this we will clean up and submit as a patch as soon as we can.

        Show
        danharvey Dan Harvey added a comment - This was discussed in the mailing lists last year http://mail-archives.apache.org/mod_mbox/hadoop-mapreduce-user/201012.mbox/%3CAANLkTinMDb9NLkNXYQg=8=aFBbQt7GNuZoVpk8+avcqj@mail.gmail.com%3E We've got code for this we will clean up and submit as a patch as soon as we can.

          People

          • Assignee:
            brocknoland Brock Noland
            Reporter:
            danharvey Dan Harvey
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development