Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 2855 invoked from network); 22 Apr 2008 10:46:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Apr 2008 10:46:59 -0000 Received: (qmail 98961 invoked by uid 500); 22 Apr 2008 10:46:57 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 98792 invoked by uid 500); 22 Apr 2008 10:46:57 -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 98780 invoked by uid 99); 22 Apr 2008 10:46:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2008 03:46:57 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 209.17.190.200 is neither permitted nor denied by domain of enis.soz.nutch@gmail.com) Received: from [209.17.190.200] (HELO mail.ortakdns.com) (209.17.190.200) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2008 10:46:03 +0000 Received: from [192.168.1.10] (unknown [78.186.68.122]) by mail.ortakdns.com (Postfix) with ESMTPA id 66C7452C024 for ; Tue, 22 Apr 2008 13:48:30 +0300 (EEST) Message-ID: <480DC1F5.7000000@gmail.com> Date: Tue, 22 Apr 2008 13:46:13 +0300 From: Enis Soztutar User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: core-user@hadoop.apache.org Subject: Re: I need your help sincerely! References: <000801c8a454$6d806bc0$7a003d0a@cnc5fc5c78114e> In-Reply-To: <000801c8a454$6d806bc0$7a003d0a@cnc5fc5c78114e> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, The number of map tasks is supposed to be greater than the number of machines, so in your configuration, 6 map tasks is ok. However there should be another problem. Have you changed the code for word count? Please ensure that the example code is unchanged and your configuration is right. Also you may want to try the latest stable release, which is 0.16.3 at this point. wangxiaowei wrote: > hello, I am a Chinese user.I am using hadoop-0.15.3 now.The problem is that:I install hadoop with three nodes.One is taken as NameNode and JobTracker.The three are all taken as slaves. It dfs runs normally.I use your example of wordcount,the instruction is:bin/hadoop jar hadoop-0.15.3-examples.jar wordcount -m 6 -r 2 inputfile outoutdir then I submit it.when it runs,the map tasks are all completes,but the reduce task do not run at all! I checked the log of JobTracker,finding the error: > at java.util.Hashtable.get(Hashtable.java:334) > at org.apache.hadoop.mapred.ReduceTask$ReduceCopier.fetchOutput(ReduceTask.java:966) > at org.apache.hadoop.mapred.ReduceTask.run > at org.apache.hadoop.mapred.TaskTracker$Child.main() > the machine just stoped there,I have to ctrl+c to stop the program. > but when I use this instructon:bin/hadoop jar hadoop-0.15.3-examples.jar wordcount -m 2 -r 1 inputfile outoutdir > it runs successfully! > I do not konw why! I think the numbers of machines should be greater than mapTasks,so i set it 6.my machines number is 3. > Looking forward for your reply! > 4.22,2008 > xiaowei >