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

Amareshwari Sriramadasu updated MAPREDUCE-777:
----------------------------------------------

    Attachment: patch-777-3.txt

Attaching an early patch for review.

Patch adds public classes org.apache.hadoop.mapreduce.Cluster, 
org.apache.hadoop.mapreduce.CLI . 
Moves org.apache.hadoop.mapred.JobSubmissionProtocol to public 
org.apache.hadoop.mapreduce.ClientProtocol.

Cluster maintains the life-cycle of RPCProxy. Instance of Cluster creates the 
RPCProxy. and Cluster.close() should be called for stopping the proxy.

Job is passed with handle to cluster. It uses cluster handle to submit job and 
qeury its status.
All RunningJob methods are added to org.apache.hadoop.mapreduce.Job . 
Moved the Job submission code to private class JobSubmitter.

org.apache.hadoop.mapreduce.CLI implements Tool and provides the functionality 
of *bin/hadoop job* option.

I'm still working on changing old client to use new code and remove duplication.

> A method for finding and tracking jobs from the new API
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-777
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-777
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: client
>            Reporter: Owen O'Malley
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 0.21.0
>
>         Attachments: m-777.patch, patch-777-1.txt, patch-777-2.txt, 
> patch-777-3.txt, patch-777.txt
>
>
> We need to create a replacement interface for the JobClient API in the new 
> interface. In particular, the user needs to be able to query and track jobs 
> that were launched by other processes.

-- 
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