[
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.
{quote}
There needs to be a couple additional cases within the FINISHED state - to deal
with KILLED/FAILED. Other than that the patch looks good.
{quote}
I have updated the patch for KILLED case. FAILED case will go to the next
switch case(FAILED).
{quote}
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.
{quote}
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