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

Owen O'Malley commented on HADOOP-1781:
---------------------------------------

I think that JobClient should have a:

{code}
  JobStatus[] getJobs();
  TaskCompletionEvent[] getTaskCompletionEvents(String jobid);
{code}

because otherwise you can't get information about the jobs that you didn't 
submit.

> 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