Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 23251 invoked from network); 21 Feb 2008 23:01:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2008 23:01:36 -0000 Received: (qmail 50028 invoked by uid 500); 21 Feb 2008 23:01:27 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 50010 invoked by uid 500); 21 Feb 2008 23:01:27 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 49698 invoked by uid 99); 21 Feb 2008 23:01:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 15:01:26 -0800 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nautilushj@gmail.com designates 66.249.90.180 as permitted sender) Received: from [66.249.90.180] (HELO ik-out-1112.google.com) (66.249.90.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 23:00:51 +0000 Received: by ik-out-1112.google.com with SMTP id c28so215508ika.5 for ; Thu, 21 Feb 2008 15:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=ATiwp9D7yGBqQU6T7IEP8YunOby39u62AWlVGqZVMUw=; b=X8Zgs9wrX8iT2D2amrdujCJxbvxWPDVWMntSR1IhZkeD/HD8hMBdt0bWhZX/aqvp35w80TdFtBcOSUO6Eppw2iUu9edBIyIFbH4B8A3VEsvz0/5o5l7u61KhrLUU32QEbooYXcY4bVfqBUZAAruhIsjjSxHIsRyjbKM7bFdw/I8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Pv3YuRLc/kN8ITEd2p9Ja/HI39y+NrshgZURlBU8ZYpzpahDmL4jDeerOjlUXKeSzxhRgFbp5mfmKB34M9hZd+I1Xh21eHaVNTQbBzzTTzVHocodh7FmGBkvu4y1yf3XZ2pzdKnsiDsA32uqnUJPn5lw7ootpbU8DKdeWCgIk0s= Received: by 10.142.179.12 with SMTP id b12mr8178205wff.88.1203634857096; Thu, 21 Feb 2008 15:00:57 -0800 (PST) Received: by 10.142.218.21 with HTTP; Thu, 21 Feb 2008 15:00:57 -0800 (PST) Message-ID: <256fdd860802211500i5414ffe4rdca88987945bcaf7@mail.gmail.com> Date: Thu, 21 Feb 2008 18:00:57 -0500 From: "Zhu Huijun" To: core-dev@hadoop.apache.org Subject: Re: IncorrecteVersionException in installing Hadoop In-Reply-To: <256fdd860802211400y21c78080l8427e4ba436bfbea@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6437_23809074.1203634857093" References: <256fdd860802211400y21c78080l8427e4ba436bfbea@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6437_23809074.1203634857093 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sorry to bother. I cleared the hadoop directory on each node, then re-formatted it, the problem is solved. 2008/2/21, Zhu Huijun : > > Hi, > > I have a problem running Hadoop on our cluster. After I formated the > namenode by executing "./bin/hadoop namenode -format", and started the dfs > by executing "./bin/start-dfs.sh", I can access the webpage of namenode at > http://localhost:50070, but the number of live data nodes is 0. If I run > "./bin/stop-dfs.sh", there are messages of "no datanode to stop" after > each ip addresses of the slave nodes listed in the /conf/slaves file. I > found the following error in the log files: > > ERROR org.apache.hadoop.dfs.DataNode: > org.apache.hadoop.dfs.IncorrectVersionException: Unexpected version of > storage directory /tmp/hadoop-zhuhj/dfs/data. Reported: -11. Expecting = > -10. > > However, I check the file of /tmp/hadoop-zhuhj/dfs/data/current/VERSION, > it says "layoutVersion=-10". > > I appreciate that anyone can give me some hint about what the problem is. > Thanks! > > Best wishes! > > > > ------=_Part_6437_23809074.1203634857093--