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] [Updated] (MAPREDUCE-4290) JobStatus.getState() API is giving ambiguous values
Date Thu, 07 Jun 2012 08:26:23 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-4290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Devaraj K updated MAPREDUCE-4290:
---------------------------------

    Affects Version/s: 3.0.0
               Status: Patch Available  (was: Open)

JobClient.getAllJobs() API is giving the status as SUCCEEDED even if the job is failed. While
converting from application report to Job Status it is considering only the yarn application
state. If the application state is finished and final status is failed, it is giving the job
status as SUCCEEDED by considering only the application state. 


I have attached patch to address this, if the yarn application status is finished and final
status is succeeded then only giving the job status as succeeded.
                
> 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.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

        

Mime
View raw message