Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 93318 invoked from network); 12 Jul 2010 04:28:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Jul 2010 04:28:45 -0000 Received: (qmail 99992 invoked by uid 500); 12 Jul 2010 04:28:44 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 99567 invoked by uid 500); 12 Jul 2010 04:28:41 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 99559 invoked by uid 99); 12 Jul 2010 04:28:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jul 2010 04:28:40 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yhemanth@gmail.com designates 74.125.83.176 as permitted sender) Received: from [74.125.83.176] (HELO mail-pv0-f176.google.com) (74.125.83.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jul 2010 04:28:32 +0000 Received: by pvc21 with SMTP id 21so3463788pvc.35 for ; Sun, 11 Jul 2010 21:28:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=HADHQbL4g7tgR8jHgxGKHa/KIQfK5WmQuaA59kQ2kTA=; b=v0Gq9E/j8yv5o3lXEXiXgTPzV+VM1v5Bc53GeA19UxpBO4dhQ11DbhXFclaTgJ4j3g OJKLMTXdQChm8Io+hdsJ8okjeK6dI/cUFx51CSH3gKBs85kpIIOJ1ydQ0O9YDmXmwVR2 5HJJZWkjQtT6TIUrgnN9KIrHmCaJZmZsogRVc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ESbhpVhWCUzmwJ593+SgubPDDpi6mfOphUBXuhA531lZBTQ5PIvw1Lx3kg+0gc/oKJ SccuA1lIhqAKYlx/elgifN0afX5FSrLNMSMc3iTDcv4ZiJpfWWb7mceRd3Pi5bWP8TZz 0bZx7jbyXmySw4+NuaUIq+14QQ3yqFzMWPiKQ= MIME-Version: 1.0 Received: by 10.142.185.13 with SMTP id i13mr11147943wff.57.1278908891207; Sun, 11 Jul 2010 21:28:11 -0700 (PDT) Received: by 10.142.188.19 with HTTP; Sun, 11 Jul 2010 21:28:11 -0700 (PDT) In-Reply-To: <-5890222442401355000@unknownmsgid> References: <-5890222442401355000@unknownmsgid> Date: Mon, 12 Jul 2010 09:58:11 +0530 Message-ID: Subject: Re: MiniMRCluster still uses deprecated API JobConf From: Hemanth Yamijala To: common-dev@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Matias, > I'm using Hadoop 0.20.2 and try to do some unit testing. I already used > mrunit, but now I wan't to use MiniMRCluster. Unfortunatelly, it still uses > the old deprecated API like JobConf. Is there any newer version of > MiniMRCluster? Or is there a successor, because 0.21 RC did not contain this > class anymore. I can see this class exists in the 0.21 branch. Please note that from 0.21, the project is split into 3: common, hdfs and mapreduce. The MiniMRCluster is in the mapreduce project: hadoop.apache.org/mapreduce. That said, the class is still using some of the older classes like you mention. Please note that many of the framework tests still rely on the MiniMRCluster. Thanks Hemanth > > If there is no successor or replacement, I can provide a patch. I already > migrated MiniMRCluster.java, but not it's related classes like JobTracker. > > Is there any tutorial or documentation for the MiniClusters? > > -- > Kind regards, > Mathias > > >