Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 12385 invoked from network); 25 Jun 2009 04:59:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 04:59:38 -0000 Received: (qmail 16344 invoked by uid 500); 25 Jun 2009 04:59:46 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 16264 invoked by uid 500); 25 Jun 2009 04:59:46 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 16254 invoked by uid 99); 25 Jun 2009 04:59:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 04:59:46 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [69.147.107.20] (HELO mrout1-b.corp.re1.yahoo.com) (69.147.107.20) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 04:59:36 +0000 Received: from ownstrong-lr.eglbp.corp.yahoo.com (ownstrong-lr.eglbp.corp.yahoo.com [10.66.74.39]) by mrout1-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id n5P4wcDq078004 for ; Wed, 24 Jun 2009 21:58:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: references:in-reply-to:content-type:content-transfer-encoding; b=FdA78ytqynBXt7PYemWFKtWVvmQvKrhmwXoFCBKS0KuR72hnHDrF4MDxYL5vWFmE Message-ID: <4A43045F.3060901@yahoo-inc.com> Date: Thu, 25 Jun 2009 10:30:15 +0530 From: Amareshwari Sriramadasu User-Agent: Thunderbird 2.0.0.22 (X11/20090605) MIME-Version: 1.0 To: core-user@hadoop.apache.org Subject: Re: where is the "addDependingJob"? References: <24196826.post@talk.nabble.com> <4A42FF59.7020004@yahoo-inc.com> <24196943.post@talk.nabble.com> In-Reply-To: <24196943.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 >> >> >> >> >> > >