Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 62090 invoked from network); 20 Mar 2010 19:31:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Mar 2010 19:31:45 -0000 Received: (qmail 95711 invoked by uid 500); 20 Mar 2010 19:31:43 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 95659 invoked by uid 500); 20 Mar 2010 19:31:43 -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 95650 invoked by uid 99); 20 Mar 2010 19:31:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Mar 2010 19:31:43 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of colinfreas@gmail.com designates 209.85.210.184 as permitted sender) Received: from [209.85.210.184] (HELO mail-yx0-f184.google.com) (209.85.210.184) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Mar 2010 19:31:36 +0000 Received: by yxe14 with SMTP id 14so2042128yxe.5 for ; Sat, 20 Mar 2010 12:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=EPdICRqckQGEh3+of3jleawDNeajaXA5NeOh1I2roBw=; b=v9D/qE3DQCKHtpcZM67bzmPEXeVWbGukKIFrbL+QRYrDaesBknTkF6/lxo+C9X/NZV 794llCzI+eKbSD4VqdIWdga8a4FcnWyXDfG5Hcr6awwlQ0Av4g28ZXqlTGAXggpSAyne 2CQgRtPqtL3PKZJ5tp6KHrmbPG/9r45HyF0PY= 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=NP5K5KRr1Zv/hOqALoXPo2xlkqy1x7CsDSEiCqNuWEgRxvp9hjFAYYmCMMZjxdc1WZ KLopWgAyGWgdqckZr0od0KESsZQvxi0M7MF1T6KiwiuflxTORs1TnjGWMENlSyg5NwHg cs7YQTCepJeOGxqmwdcvYitUQ9TPWSC84xUwY= MIME-Version: 1.0 Received: by 10.91.50.9 with SMTP id c9mr2318827agk.116.1269113474658; Sat, 20 Mar 2010 12:31:14 -0700 (PDT) In-Reply-To: <005601cac859$f1efa760$d5cef620$@ca> References: <003101cac84c$70c48f00$524dad00$@ca> <807696.15999.qm@web63408.mail.re1.yahoo.com> <005601cac859$f1efa760$d5cef620$@ca> Date: Sat, 20 Mar 2010 15:31:14 -0400 Message-ID: Subject: Re: Bad connection to FS. command aborted. From: Colin Freas To: common-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001485f8612ed6310404824081f2 X-Virus-Checked: Checked by ClamAV on apache.org --001485f8612ed6310404824081f2 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable any idea what the root cause was? On Sat, Mar 20, 2010 at 2:19 PM, Katie legere wrote: > Thank you so much - it reformatted the file system but at least now > everything works. > Katie > > -----Original Message----- > From: Aleksandar Stupar [mailto:stupar.aleksandar@yahoo.com] > Sent: Saturday, March 20, 2010 2:01 PM > To: common-user@hadoop.apache.org > Subject: Re: Bad connection to FS. command aborted. > > Hi, > > If you have a fresh install you should try formatting the name node befor= e > starting dfs by: > $ bin/hadoop namenode -format > > P.S. you can also use -put command instead of -copyFromLocal > > Hope this helps, > Aleksandar. > > > > > ________________________________ > From: Katie legere > To: common-user@hadoop.apache.org > Sent: Sat, March 20, 2010 5:43:16 PM > Subject: Bad connection to FS. command aborted. > > > I=92m getting this error when I try to copy files to the > dfs using this command: hadoop@10:/home/ubuntu/hadoop$ bin/hadoop dfs > -copyFromLocal /tmp/gutenberg gutenberg > > I tried this to see what might be the problem : hadoop@10 > :/home/ubuntu/hadoop$ > bin/hadoop namenode > > And got this=85 > 10/03/20 16:24:55 INFO namenode.NameNode: STARTUP_MSG: > /************************************************************ > STARTUP_MSG: Starting NameNode > STARTUP_MSG: host =3D 10/0.0.0.10 > STARTUP_MSG: args =3D [] > STARTUP_MSG: version =3D 0.20.1 > STARTUP_MSG: build =3D > http://svn.apache.org/repos/asf/hadoop/common/tags/releas > e-0.20.1-rc1 -r 810220; compiled by 'oom' on Tue Sep 1 > 20:55:56 UTC 2009 > ************************************************************/ > 10/03/20 16:25:00 INFO metrics.RpcMetrics: Initializing RPC > Metrics with hostName=3DNameNode, port=3D54310 > 10/03/20 16:25:00 INFO namenode.NameNode: Namenode up at: > localhost/127.0.0.1:54310 > 10/03/20 16:25:00 INFO jvm.JvmMetrics: Initializing JVM > Metrics with processName=3DNameNode, sessionId=3Dnull > 10/03/20 16:25:10 INFO metrics.NameNodeMetrics: Initializing > NameNodeMeterics using context > object:org.apache.hadoop.metrics.spi.NullContext > 10/03/20 16:25:10 INFO namenode.FSNamesystem: > fsOwner=3Dhadoop,hadoop > 10/03/20 16:25:10 INFO namenode.FSNamesystem: > supergroup=3Dsupergroup > 10/03/20 16:25:10 INFO namenode.FSNamesystem: isPermissionEnabled=3Dtrue > 10/03/20 16:25:15 INFO metrics.FSNamesystemMetrics: > Initializing FSNamesystemMet > rics using context > object:org.apache.hadoop.metrics.spi.NullContext > 10/03/20 16:25:15 INFO namenode.FSNamesystem: Registered > FSNamesystemStatusMBean > 10/03/20 16:25:20 INFO > common.Storage: Storage directory /tmp/hadoop-hadoop/dfs/name does not > exist. > 10/03/20 16:25:20 ERROR namenode.FSNamesystem: FSNamesystem > initialization failed. > org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: > Directory /tmp/hadoop-hadoop/dfs/name is in an inconsistent state: storag= e > directory does not exist or is not > accessible. > at > > org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSIm= age.java:290) > at > > org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirector= y.java:87) > at > > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesyst= em.java:311) > at > > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.(FSNamesystem.j= ava:292) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:= 201) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:279) > at > > org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.j= ava:956) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:965) > 10/03/20 16:25:20 INFO ipc.Server: Stopping server on 54310 > 10/03/20 16:25:20 ERROR namenode.NameNode: > org.apache.hadoop.hdfs.server.common. > InconsistentFSStateException: Directory > /tmp/hadoop-hadoop/dfs/name is in an inconsistent state: storage director= y > does > not exist or is not accessible. > at > > org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSIm= age.java:290) > at > > org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirector= y.java:87) > at > > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesyst= em.java:311) > at > > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.(FSNamesystem.j= ava:292) > at > > org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:= 201) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:279) > at > > org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.j= ava:956) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:965) > > 10/03/20 16:25:20 INFO namenode.NameNode: SHUTDOWN_MSG: > /************************************************************ > SHUTDOWN_MSG: Shutting down NameNode at 10/0.0.0.10 > ************************************************************/ > > I tried running: hadoop@10:/home/ubuntu/hadoop$ > bin/start-dfs.sh > > starting namenode, logging to > /home/ubuntu/hadoop/bin/../logs/hadoop-hadoop-namenode-10.out > localhost: starting datanode, logging to > /home/ubuntu/hadoop/bin/../logs/hadoop-hadoop-datanode-10.out > localhost: starting secondarynamenode, logging to > /home/ubuntu/hadoop/bin/../logs/hadoop-hadoop-secondarynamenode-10.out > > Which seems good but I still > get the same error=85 > > Katie Legere| Senior Programmer/Analyst | > Department of Human Resources > 613-533-6000 x74180| Queen's University > This e-mail is > intended only for the recipient(s) to whom it is addressed and may contai= n > information that is confidential or privileged. If you are not the intend= ed > recipient, any disclosure or unauthorized use of this e-mail or the > information > contained herein or attached hereto is strictly prohibited and may be > unlawful. > If you have received this e-mail in error, please notify the sender > immediately > and delete this e-mail without reading, printing, copying or forwarding i= t > to > anyone. Thank you. > > > > > > --001485f8612ed6310404824081f2--