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