Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 3280 invoked from network); 1 Jul 2010 08:50:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jul 2010 08:50:53 -0000 Received: (qmail 86155 invoked by uid 500); 1 Jul 2010 08:50:50 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 85102 invoked by uid 500); 1 Jul 2010 08:50:46 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 85091 invoked by uid 99); 1 Jul 2010 08:50:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jul 2010 08:50:45 +0000 X-ASF-Spam-Status: No, hits=3.6 required=10.0 tests=FREEMAIL_FROM,FS_REPLICA,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 qwertymaniac@gmail.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-pz0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jul 2010 08:50:39 +0000 Received: by pzk35 with SMTP id 35so580765pzk.35 for ; Thu, 01 Jul 2010 01:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=y1R4W2AHtt0dqIBdMrS2t3Lh3qi9nvoUYIolTtu8bCg=; b=uN704XuT7lHOKhp7/Z2knJ8PaH15jZgp7zIFgdFTp12y2H8vSRXf4QQ0qo64xbqIs6 OiXLG4/8oSLVzGXwifY7EQt+nV+dQg2G7uIEOrlbFQYQlcYLOwqVHyXi6oAFRKjrkDh4 9N8CErjffB4x5ndcL+7ZQ6YJJPOjGgg8I+CSU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=bhn48LFvpDUXEw8Pjis4E46oRUM8iajgnUoO6sV8FxUbDiGvPBIngBJvJ768D4f/Qo HQsz10DVpx4jLodQ5ZVjHFrEpcTxETt9RJqT0NFIk1Mg2qjShFWIwf/0pvuYvysyuMC3 hJGr4kFLsUZf2SzgCNxgtEOreVZqIztZ9SG3U= Received: by 10.114.10.19 with SMTP id 19mr11599526waj.75.1277974216399; Thu, 01 Jul 2010 01:50:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.47.14 with HTTP; Thu, 1 Jul 2010 01:49:56 -0700 (PDT) In-Reply-To: References: From: Harsh J Date: Thu, 1 Jul 2010 14:19:56 +0530 Message-ID: Subject: Re: could only be replicated to 0 nodes, instead of 1 To: common-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 Did you check if your Datanode(s) is/are up? The Namenode's web interface reports statistics about live/dead datanodes. NN is trying to replicate your data to N (in your case, 1) datanodes but it can find none. On Thu, Jul 1, 2010 at 1:48 PM, Pierre ANCELOT wrote: > Hello everyone :) > Any idea how to troubleshoot this please? > I don't get where this comes from. > > > 2010-07-01 08:29:02,721 WARN org.apache.hadoop.hdfs.DFSClient: > DataStreamer Exception: org.apache.hadoop.ipc.RemoteException: > java.io.IOException: File > /acd/Dispatch/data/user100/historyreport/020920360E55A807CECDFC34621E90C5= /last > could only be replicated to 0 nodes, instead of 1 > > > =A0 =A0 =A0 =A0at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.get= AdditionalBlock(FSNamesystem.java:1271) > =A0 =A0 =A0 =A0at org.apache.hadoop.hdfs.server.namenode.NameNode.addBloc= k(NameNode.java:422) > =A0 =A0 =A0 =A0at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown So= urce) > > > =A0 =A0 =A0 =A0at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegat= ingMethodAccessorImpl.java:25) > =A0 =A0 =A0 =A0at java.lang.reflect.Method.invoke(Method.java:597) > =A0 =A0 =A0 =A0at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:508) > =A0 =A0 =A0 =A0at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:= 959) > > > =A0 =A0 =A0 =A0at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:= 955) > =A0 =A0 =A0 =A0at java.security.AccessController.doPrivileged(Native Meth= od) > =A0 =A0 =A0 =A0at javax.security.auth.Subject.doAs(Subject.java:396) > =A0 =A0 =A0 =A0at org.apache.hadoop.ipc.Server$Handler.run(Server.java:95= 3) > > > > =A0 =A0 =A0 =A0at org.apache.hadoop.ipc.Client.call(Client.java:740) > =A0 =A0 =A0 =A0at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220) > =A0 =A0 =A0 =A0at $Proxy1.addBlock(Unknown Source) > =A0 =A0 =A0 =A0at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Sou= rce) > > > =A0 =A0 =A0 =A0at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegat= ingMethodAccessorImpl.java:25) > =A0 =A0 =A0 =A0at java.lang.reflect.Method.invoke(Method.java:597) > =A0 =A0 =A0 =A0at org.apache.hadoop.io.retry.RetryInvocationHandler.invok= eMethod(RetryInvocationHandler.java:82) > > > =A0 =A0 =A0 =A0at org.apache.hadoop.io.retry.RetryInvocationHandler.invok= e(RetryInvocationHandler.java:59) > =A0 =A0 =A0 =A0at $Proxy1.addBlock(Unknown Source) > =A0 =A0 =A0 =A0at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.locate= FollowingBlock(DFSClient.java:2937) > > > =A0 =A0 =A0 =A0at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.nextBl= ockOutputStream(DFSClient.java:2819) > =A0 =A0 =A0 =A0at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access= $2000(DFSClient.java:2102) > =A0 =A0 =A0 =A0at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataSt= reamer.run(DFSClient.java:2288) > > > Thank you. > > -- > http://www.neko-consulting.com > Ego sum quis ego servo > "Je suis ce que je prot=E8ge" > "I am what I protect" > --=20 Harsh J www.harshj.com