[
https://issues.apache.org/jira/browse/MAPREDUCE-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402622#comment-13402622
]
Alejandro Abdelnur commented on MAPREDUCE-4355:
-----------------------------------------------
The mr1 patch has a few false changes in the test class, please revert those.
Please add a simple testcase for the mr2 case.
Also, in the mr1 patch you are using 'updateStatus()' to update the jobstatus
before returning the object. the method above uses 'ensureFreshStatus()', why
the difference?
> Add RunningJob.getJobStatus()
> -----------------------------
>
> 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
>
>
> Usecase: Read the start/end-time of a particular job.
> Currently, one has to iterate through JobClient.getAllJobStatuses() and
> iterate through them. JobClient.getJob(JobID) returns RunningJob, which
> doesn't hold the job's start time.
> Adding RunningJob.getJobStatus() solves the issue.
--
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