You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2012/06/20 00:54:42 UTC
[jira] [Created] (MAPREDUCE-4355) Add JobStatus getJobStatus(JobID)
to JobClient.
Karthik Kambatla created MAPREDUCE-4355:
-------------------------------------------
Summary: Add JobStatus getJobStatus(JobID) to JobClient.
Key: MAPREDUCE-4355
URL: https://issues.apache.org/jira/browse/MAPREDUCE-4355
Project: Hadoop Map/Reduce
Issue Type: New Feature
Components: mrv1, mrv2
Affects Versions: 2.0.0-alpha, 1.0.3
Reporter: Karthik Kambatla
Assignee: Karthik Kambatla
To read the start-time of a particular job, one should not need to getAllJobs() and iterate through them.
getJob(JobID) returns RunningJob, which doesn't hold the job's start time.
Hence, we need to add getJobStatus(JobID) to the API.
--
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] [Reopened] (MAPREDUCE-4355) Add JobStatus
getJobStatus(JobID) to JobClient.
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy reopened MAPREDUCE-4355:
--------------------------------------
I'm sorry, but we *cannot* make an incompatible change to JobClient which is a public API, at least in hadoop-1.x
-1 on this change.
This will break a number of existing apis.
It seems we cud just add start-time to RunningJob if necessary.
Alejandro - do you mind reverting this change since it breaks compatibility? Thanks.
> Add JobStatus getJobStatus(JobID) to JobClient.
> -----------------------------------------------
>
> Key: MAPREDUCE-4355
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4355
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Components: mrv1, mrv2
> Affects Versions: 1.0.3, 2.0.0-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Fix For: 1.1.0, 2.0.1-alpha
>
> Attachments: MR-4355_mr1.patch, MR-4355_mr2.patch
>
>
> To read the start-time of a particular job, one should not need to getAllJobs() and iterate through them.
> getJob(JobID) returns RunningJob, which doesn't hold the job's start time.
> Hence, we need to add getJobStatus(JobID) to the API.
--
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