Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3409

Incorrect custom task status when running on MR2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.23.0
    • Fix Version/s: None
    • Component/s: mrv2
    • Labels:
      None

      Description

      To reproduce this problem:

      1- In your mapper setup() set:

      context.setStatus("myStatus")
      

      2- When the job finishes:

       
      TaskReport[] reports = job.getTaskReports(TaskType.MAP);
      assertEquals("myStatus", reports[0].getState());
      

      The returned status from reports[0].getState() is "SUCCEEDED" as opposed to the expected "myStatus" value.

      This exact code work fine on MR1. I saw this issue when tried running the TestTaskContext test cases on MR2.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ahmed.radwan Ahmed Radwan
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: