Return-Path: Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: (qmail 72556 invoked from network); 22 Sep 2010 18:00:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Sep 2010 18:00:26 -0000 Received: (qmail 76930 invoked by uid 500); 22 Sep 2010 18:00:26 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 76868 invoked by uid 500); 22 Sep 2010 18:00:25 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 76860 invoked by uid 99); 22 Sep 2010 18:00:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 18:00:25 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.48] (HELO mail-bw0-f48.google.com) (209.85.214.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 18:00:20 +0000 Received: by bwz14 with SMTP id 14so1026497bwz.35 for ; Wed, 22 Sep 2010 10:59:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.68.145 with SMTP id v17mr337527bki.81.1285178399783; Wed, 22 Sep 2010 10:59:59 -0700 (PDT) Received: by 10.204.71.82 with HTTP; Wed, 22 Sep 2010 10:59:59 -0700 (PDT) In-Reply-To: <4C9A4289.7020508@darose.net> References: <4C99CE4F.9040305@web.de> <4C9A4289.7020508@darose.net> Date: Wed, 22 Sep 2010 10:59:59 -0700 Message-ID: Subject: Re: JobClient using deprecated JobConf From: Tom White To: mapreduce-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org David, This was discussed here: http://www.mail-archive.com/mapreduce-dev@hadoop.apache.org/msg01833.html. The reason is basically to give users more time to move to the new API. The old API will be marked as deprecated in 0.22.0. Cheers, Tom On Wed, Sep 22, 2010 at 10:53 AM, David Rosenstrauch wr= ote: > Hmmm. =A0Any idea as to why the undeprecation? =A0I thought the intention= was to > try to move everybody to the new API. =A0Why the reversal? > > Thanks, > > DR > > On 09/22/2010 12:29 PM, Tom White wrote: >> >> Note that JobClient, along with the rest of the "old" API in >> org.apache.hadoop.mapred, has been undeprecated in Hadoop 0.21.0 so >> you can continue to use it without warnings. >> >> Tom >> >> On Wed, Sep 22, 2010 at 2:43 AM, Amareshwari Sri Ramadasu >> =A0wrote: >>> >>> In 0.21, JobClient methods are available in >>> org.apache.hadoop.mapreduce.Job >>> and org.apache.hadoop.mapreduce.Cluster classes. >>> >>> On 9/22/10 3:07 PM, "Martin Becker"<_martinbecker@web.de> =A0wrote: >>> >>> =A0Hello, >>> >>> I am using the Hadoop MapReduce version 0.20.2 and soon 0.21. >>> I wanted to use the JobClient class to circumvent the use of the comman= d >>> line interface. >>> I am noticed that JobClient still uses the deprecated JobConf class for >>> jib submissions. >>> Are there any alternatives to JobClient not using the deprecated JobCon= f >>> class? >>> >>> Thanks in advance, >>> Martin >