hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Runping Qi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2086) ability to add dependencies to a job after construction
Date Fri, 26 Oct 2007 16:53:52 GMT

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

Runping Qi commented on HADOOP-2086:
------------------------------------


Right. WAITING is the only valid state we can add a dependending job. 
submit() and setState() alter the state variable.
Thus they should be synchronized. And they should be package private too (only JobControl
uses them).



> 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.2
>         Environment: n/a
>            Reporter: Adrian Woodhead
>             Fix For: 0.16.0
>
>         Attachments: job-add-dependencies.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.


Mime
View raw message