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

Owen O'Malley resolved HADOOP-1474.
-----------------------------------

       Resolution: Duplicate
    Fix Version/s: 0.19.0

This is resolved by HADOOP-2130.

> Submittable interface, for the ability to execute and monitor jobs from a 
> java class
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-1474
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1474
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>            Reporter: Srikanth Kakani
>             Fix For: 0.19.0
>
>
> Hi,
> We wish to add the following interface:
> interface Submittable{
>            RunningJob submitJob(JobConf jc);
> }
> Currently there is no clean way to monitor a submitted job programatically, 
> one way would be to call main, and parse the output to figure out Jobid,  and 
> then monitor it using a JobClient.  Currently the only way RunJar can run a 
> Class in a Jar file is using main.invoke(). 
> The purpose of this interface is to be able to programatically call the class 
> that extends this interface via another Class (similar to RunJar) and still 
> be able to monitor it like JobClient does.
> Essentially, all the functionality within a main class would be encapsulated 
> within this method such as implementing constraints between various user 
> defined job.xml keys.
> The purpose of main would be reduced to parsing arguments, setting the 
> JobConf and calling this function.

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