Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 20203 invoked from network); 20 Feb 2011 19:15:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Feb 2011 19:15:18 -0000 Received: (qmail 69195 invoked by uid 500); 20 Feb 2011 19:15:15 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 68822 invoked by uid 500); 20 Feb 2011 19:15:12 -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 68814 invoked by uid 99); 20 Feb 2011 19:15:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Feb 2011 19:15:12 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,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 stucchio@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vx0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Feb 2011 19:15:05 +0000 Received: by vxc41 with SMTP id 41so613357vxc.35 for ; Sun, 20 Feb 2011 11:14:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=I1cEvTGh9rLBEExvshA/grnkcZ8gBUS0YmQ0GiiPXP4=; b=W+Gp5dgUdQF8FsMI6p/r+6V5jR6MvEpOOcIhvZuLVFLqHnLF1JsLxb8xK/VYy+pgGs Hou9X8/F7typ9Pj8cjz256ZF0zk8WnNqWkaUp4q3FQ5+pHn6y/VZuBUVGCHHqOuFegq7 UPI8rdNTW22oQbHGdlhh0pETBiS80CFFpqtNY= 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=N0i58r3jrO4dFIiOiVJ2BbZem40ge2936biP/LWId47Zrjsk9OltQRyydKFifwq99d iaQjfrvRSXZJE7dM4L3arRXLGVlu6Lyb+fQd2UFLGLEvYwqfxQojEhnu02YljO1815KA JvGT3iQib08Do9E20HSpaTdpzPjyWNJo0J3M4= MIME-Version: 1.0 Received: by 10.52.157.161 with SMTP id wn1mr688220vdb.160.1298229282757; Sun, 20 Feb 2011 11:14:42 -0800 (PST) Received: by 10.220.85.2 with HTTP; Sun, 20 Feb 2011 11:14:42 -0800 (PST) In-Reply-To: References: Date: Sun, 20 Feb 2011 14:14:42 -0500 Message-ID: Subject: Re: Hadoop fsck failure From: Christian Stucchio To: common-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org It's definitely uninitialized. From the namenode log: 2011-02-20 22:38:31,789 INFO org.mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog 2011-02-20 22:38:31,835 INFO org.apache.hadoop.http.HttpServer: Port returned by webServer.getConnectors()[0].getLocalPort() before open() is -1. Opening the listener on 50070 2011-02-20 22:38:31,836 INFO org.apache.hadoop.http.HttpServer: listener.getLocalPort() returned 50070 webServer.getConnectors()[0].getLocalPort() returned 50070 2011-02-20 22:38:31,836 INFO org.apache.hadoop.http.HttpServer: Jetty bound to port 50070 2011-02-20 22:38:31,836 INFO org.mortbay.log: jetty-6.1.14 2011-02-20 22:38:31,932 WARN org.mortbay.log: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@7c19f9d2{/,file:/usr/local/hadoop/webapps/hdfs} java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:114) at java.util.jar.JarFile.(JarFile.java:135) at java.util.jar.JarFile.(JarFile.java:99) at org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration.java:168) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1231) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.apache.hadoop.http.HttpServer.start(HttpServer.java:461) at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:246) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:202) at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:279) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:965) 2011-02-20 22:38:31,939 INFO org.mortbay.log: Started SelectChannelConnector@0.0.0.0:50070 Googling this error only found this page, which suggests that the JVM's cache of jar files might have been modified somehow. I don't fully understand the error. http://docs.codehaus.org/display/JETTY/ZIP+exception+reading+jar+or+war+files However, on the theory that something was wrong with a jar file somewhere, I reinstalled the hadoop jars on my server. This resolved the issue. Thanks for your help, Chris On Sun, Feb 20, 2011 at 11:47 AM, Harsh J wrote: > Hello, > > There could be something wrong with the Jetty webserver that starts > along with a daemon (Used by the Reducer to fetch map outputs, and > seemingly also by fsck from NN's server). Perhaps the logs (of NN, TT) > can tell you more on what may have happened when it was initializing > the Jetty HTTP service. Look at the initializing part (early up in the > logs, during start-up). > > Quite possibly, it may be down/uninitialized due to some reason. Are > you able to view the Web UIs of each service (services that publish > one)? > > -- > Harsh J > www.harshj.com >