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

Adrian Woodhead updated HADOOP-2086:
------------------------------------

    Affects Version/s:     (was: 0.14.2)
                       0.14.3
               Status: Patch Available  (was: Open)

New patch available where I have made getState() synchronized as discussed with 
Runping Qi. In an earlier patch it was also recommended that I change 
setState() and submit() from public to package private but we found this broke 
our own code as we extend job in order to create a NonMapReduceJob class which 
can be made dependent on other Jobs and submitted to JobControl. Making the 
methods protected allows more flexibility in extending Job and is an 
improvement on the methods being public.

> ability to add dependencies to a job after construction
> -------------------------------------------------------
>
>                 Key: HADOOP-2086
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2086
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.14.3
>         Environment: n/a
>            Reporter: Adrian Woodhead
>             Fix For: 0.16.0
>
>         Attachments: job-add-dependencies.patch, job-add-dependencies2.patch, 
> job-add-dependencies3.patch
>
>
> The current Job API only allows for dependent jobs to be passed in at object 
> construction time. It would be nice if there was an additional constructor 
> which did not take any depending jobs and then an "addDependingJob" method 
> which could be used to add depending jobs to a job at a later point.

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