hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj K (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4290) JobStatus.getState() API is giving ambiguous values
Date Tue, 19 Jun 2012 06:21:42 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396542#comment-13396542

Devaraj K commented on MAPREDUCE-4290:

Thanks a lot Sid for looking into the patch.

There needs to be a couple additional cases within the FINISHED state - to deal with KILLED/FAILED.
Other than that the patch looks good.
I have updated the patch for KILLED case. FAILED case will go to the next switch case(FAILED).

Another problem with the getAllJobs() API - it gets the application list from the RM - which
means it's going to convert non MapReduce apps as well. Don't believe there's any good way
to differentiate between application types from the RM list.

Yes Sid, there is no better way to differentiate mapred and non-mapred apps. Any way this
api will be useful if we have all mapred jobs.
> JobStatus.getState() API is giving ambiguous values
> ---------------------------------------------------
>                 Key: MAPREDUCE-4290
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4290
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Nishan Shetty
>            Assignee: Devaraj K
>         Attachments: MAPREDUCE-4290-1.patch, MAPREDUCE-4290.patch
> For failed job getState() API is giving status as SUCCEEDED if we use JobClient.getAllJobs()
for retrieving all jobs info from RM.

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


View raw message