hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amareshwari Sriramadasu <amar...@yahoo-inc.com>
Subject Re: where is the "addDependingJob"?
Date Thu, 25 Jun 2009 05:00:15 GMT
You can use 0.21-dev.
If not, you can try using old api jobcontrol to create dependingJobs by 
getting the conf from
org.apache.hadoop.mapreduce.Job.getConfiguration().

Thanks
Amareshwari
HRoger wrote:
> Thanks for your answer,I am using the 0.20 and programing with the new api,so
> how can I make one job ran after the other job in one class with the new
> api?
>
> Amareshwari Sriramadasu wrote:
>   
>> HRoger wrote:
>>     
>>> Hi
>>> As you know in the "org.apache.hadoop.mapred.jobcontrol.Job" there is a
>>> method called "addDependingJob" but not in
>>> "org.apache.hadoop.mapreduce.Job".Is there some method works like
>>> addDependingJob in "mapreduce" package?
>>>
>>>   
>>>       
>> "org.apache.hadoop.mapred.jobcontrol.Job" is moved to 
>> "org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob" in 0.21. In 
>> 0.20, The corresponding class for 
>> org.apache.hadoop.mapred.jobcontrol.Job with new api is not present. So, 
>> in 0.20, you should use "org.apache.hadoop.mapred.jobcontrol.Job".
>>
>> Thanks
>> Amareshwari
>>
>>
>>
>>
>>     
>
>   


Mime
View raw message