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

getTaskAttemptID is missing from context

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Labels:
      None

      Description

      I'm trying to get the task attempt id in my reducer test code however it's null:

      org.apache.hadoop.mapreduce.TaskAttemptContext.getTaskAttemptID()

      It would be good to provide a value for this to the user code.

        Attachments

          Activity

            People

            • Assignee:
              dbeech Dave Beech
              Reporter:
              phunt Patrick D. Hunt
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: