Return-Path: Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: (qmail 63645 invoked from network); 21 May 2010 04:35:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 May 2010 04:35:32 -0000 Received: (qmail 48731 invoked by uid 500); 21 May 2010 04:35:32 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 48520 invoked by uid 500); 21 May 2010 04:35:29 -0000 Mailing-List: contact hdfs-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-user@hadoop.apache.org Delivered-To: mailing list hdfs-user@hadoop.apache.org Received: (qmail 48512 invoked by uid 99); 21 May 2010 04:35:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 04:35:29 +0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=FREEMAIL_FROM,HK_RANDOM_ENVFROM,HK_RANDOM_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 zjffdu@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-px0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 04:35:21 +0000 Received: by pxi10 with SMTP id 10so362203pxi.35 for ; Thu, 20 May 2010 21:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=mSaLL123ujQc4ENHXf3aVeMJgAYyaBbp3JfaPgQ5diA=; b=si5KBHQHJevgJLh6q99lZCrzfHCq6nkE5jEpN4J1T9PV5sL9eT3OLlA18P5GAqXvo6 3iHeayC3ikccg+vZwFftB+mE6VY1QRRbUxeNaWqIYKtEFJNycpwa5wCDiMDp+kdPMYvS lTH64Or/YQc6KFahMiFgnu5UUZNWJQo3uL21w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WJP3pMQ9F1Krr26Hb+OeU3zUEkW4L355bWr0AiMQgzlD//l0ICF3/adQnSalNyg6Gf i4yHfgi4MMPmZV7W+UMoTPYBxfbVkA1ADx/xMuhrqPyf9FDNGcUuycfM3goIYs9VGjEh KENkdGdIxzs6fS3ECCU9Um87pOC3AZrG/7VZ4= MIME-Version: 1.0 Received: by 10.143.24.2 with SMTP id b2mr474390wfj.58.1274416500342; Thu, 20 May 2010 21:35:00 -0700 (PDT) Received: by 10.142.49.12 with HTTP; Thu, 20 May 2010 21:35:00 -0700 (PDT) Date: Fri, 21 May 2010 12:35:00 +0800 Message-ID: Subject: Is it possible to recover name node just using the meta data in a new machine From: Jeff Zhang To: hdfs-user@hadoop.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I'd like to recover the name node in another new machine. I copy the meta data from the old name node to the new name node, and then modify the configuration (including the fs.default.name). Then I stop the old dfs cluster, and restart the new dfs cluster on the new machine, then I get the following error message ( anyone has any ideas ?) 2010-05-21 01:02:37,552 INFO org.apache.hadoop.http.HttpServer: Port returned by webServer.getConnectors()[0].getLocalPort() before open() is -1. Opening the listener on 500702010-05-21 01:02:37,554 WARN org.apache.hadoop.hdfs.server.namenode.FSNamesystem: ReplicationMonitor thread received InterruptedException.java.lang.InterruptedException: sleep interrupted2010-05-21 01:02:37,555 INFO org.apache.hadoop.hdfs.server.namenode.DecommissionManager: Interrupted Monitorjava.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Method) at org.apache.hadoop.hdfs.server.namenode.DecommissionManager$Monitor.run(DecommissionManager. java:65) at java.lang.Thread.run(Thread.java:619) 2010-05-21 01:02:37,556 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of transactio ns: 0 Total time for transactions(ms): 0Number of transactions batched in Syncs: 0 Number of syncs: 0 SyncTimes(ms): 0 0 2010-05-21 01:02:37,565 INFO org.apache.hadoop.ipc.Server: Stopping server on 9000 2010-05-21 01:02:37,566 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.net.BindException: Cannot assign requested address at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216) at org.apache.hadoop.http.HttpServer.start(HttpServer.java:424) at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:246) -- Best Regards Jeff Zhang