Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 89974 invoked from network); 16 Dec 2010 06:05:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Dec 2010 06:05:29 -0000 Received: (qmail 75895 invoked by uid 500); 16 Dec 2010 06:05:26 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 75489 invoked by uid 500); 16 Dec 2010 06:05:25 -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 75299 invoked by uid 99); 16 Dec 2010 06:05:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 06:05:25 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sandeepk@huawei.com designates 119.145.14.67 as permitted sender) Received: from [119.145.14.67] (HELO szxga04-in.huawei.com) (119.145.14.67) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 06:05:18 +0000 Received: from huawei.com (szxga04-in [172.24.2.12]) by szxga04-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0LDI00L3FBJHZN@szxga04-in.huawei.com> for common-user@hadoop.apache.org; Thu, 16 Dec 2010 14:04:29 +0800 (CST) Received: from huawei.com ([172.24.2.119]) by szxga04-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0LDI005WHBJHWJ@szxga04-in.huawei.com> for common-user@hadoop.apache.org; Thu, 16 Dec 2010 14:04:29 +0800 (CST) Received: from BLRNSHTIPL4NC ([10.18.1.34]) by szxml06-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTPA id <0LDI00M8JBJGE0@szxml06-in.huawei.com> for common-user@hadoop.apache.org; Thu, 16 Dec 2010 14:04:29 +0800 (CST) Date: Thu, 16 Dec 2010 11:34:27 +0530 From: sandeep Subject: Hadoop upgrade [Do we need to have same value for dfs.name.dir ] while upgrading To: common-user@hadoop.apache.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.3959 X-Mailer: Microsoft Office Outlook 11 Content-type: multipart/alternative; boundary="Boundary_(ID_EdbuDEeLmzVM/QAXTCwAUQ)" Thread-index: Acuc5k2A4dQIPxWuSP2hY8Hcz2E+WQAAMP1g --Boundary_(ID_EdbuDEeLmzVM/QAXTCwAUQ) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT HI , I am trying to upgrade hadoop ,as part of this i have set Two environment variables NEW_HADOOP_INSTALL and OLD_HADOOP_INSTALL . After this i have executed the following command % NEW_HADOOP_INSTALL/bin/start-dfs -upgrade But namenode didnot started as it was throwing Inconsistent state exception as the dfs.name.dir is not present Here My question is while upgrading do we need to have the same old configurations like dfs.name.dir..etc Or Do i need to format that namenode first and then start upgrading? Please let me know Thanks sandeep **************************************************************************** *********** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! --Boundary_(ID_EdbuDEeLmzVM/QAXTCwAUQ)--