You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by HRoger <ha...@163.com> on 2009/06/25 06:32:10 UTC
where is the "addDependingJob"?
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?
--
View this message in context: http://www.nabble.com/where-is-the-%22addDependingJob%22--tp24196826p24196826.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.
Re: where is the "addDependingJob"?
Posted by Amareshwari Sriramadasu <am...@yahoo-inc.com>.
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
>>
>>
>>
>>
>>
>
>
Re: where is the "addDependingJob"?
Posted by HRoger <ha...@163.com>.
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
>
>
>
>
--
View this message in context: http://www.nabble.com/where-is-the-%22addDependingJob%22--tp24196826p24196943.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.
Re: where is the "addDependingJob"?
Posted by Amareshwari Sriramadasu <am...@yahoo-inc.com>.
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