[ 
https://issues.apache.org/jira/browse/HADOOP-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522657
 ] 

Michael Bieniosek commented on HADOOP-1781:
-------------------------------------------

Most of these are available currently.  You need to call client.getJob(jobid) 
to get a RunningJob, and then the RunningJob object has your desired APIs 
2,3,4, and 5.  This works for completed jobs as well as "running" jobs.


> Need more complete API of JobClient class
> -----------------------------------------
>
>                 Key: HADOOP-1781
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1781
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: mapred
>            Reporter: Runping Qi
>
> We need a programmatic way to find out the information about a map/reduce 
> cluster and the jobs on the cluster.
> The current API is not complete.
> In particular, the following API functions are needed:
> 1. jobs()  currently, there is an API function JobsToComplete, which returns 
> running/waiting jobs only.  jobs() should return the complete list.
> 2. TaskReport[] getMap/ReduceTaskReports(String jobid)
> 3. getStartTime()
> 4. getJobStatus(String jobid);
> 5. getJobProfile(String jobid);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to