You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Ahmed Radwan (Created) (JIRA)" <ji...@apache.org> on 2011/11/16 08:58:51 UTC

[jira] [Created] (MAPREDUCE-3409) Incorrect custom task status when running on MR2

Incorrect custom task status when running on MR2
------------------------------------------------

                 Key: MAPREDUCE-3409
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3409
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv2
    Affects Versions: 0.23.0
            Reporter: Ahmed Radwan


To reproduce this problem:

1- In your mapper setup() set: 

{code}
context.setStatus("myStatus")
{code}

2- When the job finishes:

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

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.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3409) Incorrect custom task status when running on MR2

Posted by "Tom White (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated MAPREDUCE-3409:
---------------------------------

    Target Version/s: 2.0.0
    
> Incorrect custom task status when running on MR2
> ------------------------------------------------
>
>                 Key: MAPREDUCE-3409
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3409
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ahmed Radwan
>
> To reproduce this problem:
> 1- In your mapper setup() set: 
> {code}
> context.setStatus("myStatus")
> {code}
> 2- When the job finishes:
> {code} 
> TaskReport[] reports = job.getTaskReports(TaskType.MAP);
> assertEquals("myStatus", reports[0].getState());
> {code}
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira