Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 712A8DAAB for ; Mon, 10 Sep 2012 14:44:11 +0000 (UTC) Received: (qmail 80724 invoked by uid 500); 10 Sep 2012 14:44:06 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 80626 invoked by uid 500); 10 Sep 2012 14:44:06 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 80618 invoked by uid 99); 10 Sep 2012 14:44:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 14:44:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fancyerii@gmail.com designates 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 14:44:00 +0000 Received: by iagt4 with SMTP id t4so2134059iag.35 for ; Mon, 10 Sep 2012 07:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=V3I4oEF4cXk4pAiKQv2d7xse6JGvPzFRiY+st7ZbOis=; b=HThLejEggS3Tltlmay/mXOOGiL8oQpT1ucSFjc6PABuj1eqwfLTBqf8lthiqpdG5lT S1lV19IvtmMvrUeJMi+X1gcwf7Q48V70j0LP7g5U1jLZX5gmGDz1A0SfVrT+wXvfgl4S pyJIh8xjhRAqaQNWeizOpLd6497c2U4B46DT7yNRCstStRztGrEuwKzGo0rDzuivxzur jH7vOWyWWgAmRguVLvYinAd66MVjnL8Rwqw/zAgZTT7z9HnFxgj/9aynZv+BC6S83U6o jHxoDUgJk8WKc/7cMgsdEiHWn4X45O0mbCMWJDb6vvVXEIkbszQqXyyotHfMFzKqZVsR d8jw== MIME-Version: 1.0 Received: by 10.50.6.166 with SMTP id c6mr8594051iga.61.1347288219504; Mon, 10 Sep 2012 07:43:39 -0700 (PDT) Received: by 10.64.46.2 with HTTP; Mon, 10 Sep 2012 07:43:39 -0700 (PDT) In-Reply-To: References: Date: Mon, 10 Sep 2012 22:43:39 +0800 Message-ID: Subject: Re: NoSuchMethodException when using old mapred apis From: Li Li To: user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 thanks. On Mon, Sep 10, 2012 at 7:35 PM, Harsh J wrote: > P.s. Please see my reply on the stackoverflow link you'd sent, if you > are hitting the same problem. > > On Mon, Sep 10, 2012 at 4:53 PM, Harsh J wrote: >> Hi, >> >> Your failure seems to be in the task-side. I suspect a mix of libraries. >> >> What version of Hadoop are you *deploying* across all nodes? >> >> On Mon, Sep 10, 2012 at 3:56 PM, Li Li wrote: >>> hi all, >>> I am trying an example from an tutorial for version 0.19 by using >>> hadoop 1.0.3. >> >> Why do that when 1.0.3 has its own examples and tutorials at >> http://hadoop.apache.org/common/docs/stable/? >> >>> and it compiles but fail when running in pseudo distributed mode. >> >> I packaged your code from the below link and am able to run it just >> fine on 1.0.3. and a bunch of other versions I have on my machine. >> >> Could you share your specific error please? >> >>> I found a question in stackoverflow >>> http://stackoverflow.com/questions/11961517/new-to-hadoop-mapreduce-getting-a-nosuchmethodexception-on-mapred-reducer-init >>> if I don't use older version, I can't run older codes? >> >> The answer there is bogus. There is no such issue that makes you not >> use mapred.* API over mapreduce.*. The problem was something else that >> should've taken some more debugging to find out, but the asker now >> believes it was the use of the stable API. >> >> -- >> Harsh J > > > > -- > Harsh J