Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 497CFE74E for ; Wed, 6 Mar 2013 10:08:11 +0000 (UTC) Received: (qmail 24661 invoked by uid 500); 6 Mar 2013 09:55:41 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 24475 invoked by uid 500); 6 Mar 2013 09:55:40 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 24424 invoked by uid 99); 6 Mar 2013 09:55:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 09:55:39 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dasmohap@adobe.com designates 64.18.1.23 as permitted sender) Received: from [64.18.1.23] (HELO exprod6og109.obsmtp.com) (64.18.1.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 09:55:33 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob109.postini.com ([64.18.5.12]) with SMTP ID DSNKUTcSf4yiS8y4cFWV11Sxzpi2PFktdgFk@postini.com; Wed, 06 Mar 2013 01:55:12 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r269tATC000251 for ; Wed, 6 Mar 2013 01:55:10 -0800 (PST) Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id r269t9XL009551 for ; Wed, 6 Mar 2013 01:55:09 -0800 (PST) Received: from INDIACAS01.corp.adobe.com (10.40.5.6) by nacas03.corp.adobe.com (10.8.189.121) with Microsoft SMTP Server (TLS) id 8.3.298.1; Wed, 6 Mar 2013 01:55:09 -0800 Received: from indiambx02.corp.adobe.com ([10.40.5.60]) by indiacas01.corp.adobe.com ([10.40.5.6]) with mapi; Wed, 6 Mar 2013 15:24:07 +0530 From: Samir Kumar Das Mohapatra To: "user@hadoop.apache.org" Date: Wed, 6 Mar 2013 15:24:05 +0530 Subject: RE: Issue: Namenode is in safe mode Thread-Topic: Issue: Namenode is in safe mode Thread-Index: Ac4aUB/UQzB7GYCcQlmJWSDPGn9MZQAACvCA Message-ID: <535B028B4629374D86894192BE5184DD273B4374@indiambx02.corp.adobe.com> References: <14600_1362563470_5137118E_14600_14433_15_E6472BD072676843ADB8D37E50F4C88D0BF8656C02@DE0-MAILMBX-P21.res.airbus.corp> In-Reply-To: <14600_1362563470_5137118E_14600_14433_15_E6472BD072676843ADB8D37E50F4C88D0BF8656C02@DE0-MAILMBX-P21.res.airbus.corp> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_535B028B4629374D86894192BE5184DD273B4374indiambx02corpa_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_535B028B4629374D86894192BE5184DD273B4374indiambx02corpa_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Just do it $> hadoop dfsadmin -safemode leave From: AMARNATH, Balachandar [mailto:BALACHANDAR.AMARNATH@airbus.com] Sent: 06 March 2013 15:21 To: user@hadoop.apache.org Subject: Issue: Namenode is in safe mode Hi, I have created a hadoop cluster with two nodes (A and B). 'A' act both as n= amenode and datanode, and 'B' act as datanode only. With this setup, I coul= d store, read files. Now, I added one more datanode 'C' and relieved 'A' fr= om datanode duty. This means, 'A' act only as namenode, and both B and C ac= t as datanodes. Now, I tried to create a directory, it says ' org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create d= irectory Name node is in safe mode' Can someone tell me why the namenode now is in safe mode? With thanks and regards Balachandar The information in this e-mail is confidential. The contents may not be dis= closed or used by anyone other than the addressee. Access to this e-mail by= anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and= delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of= this e-mail as it has been sent over public networks. If you have any conc= erns over the content of this message or its Accuracy or Integrity, please = contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus = scanning software but you should take whatever measures you deem to be appr= opriate to ensure that this message and any attachments are virus free. --_000_535B028B4629374D86894192BE5184DD273B4374indiambx02corpa_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Just do i= t

$>  hadoop dfsa= dmin -safemode leave

 

From: AMARNATH, = Balachandar [mailto:BALACHANDAR.AMARNATH@airbus.com]
Sent: 06 Ma= rch 2013 15:21
To: user@hadoop.apache.org
Subject: Issu= e: Namenode is in safe mode

 

 

=

Hi,

&nb= sp;

I have created a hadoop clu= ster with two nodes (A and B). ‘A’ act both as namenode and dat= anode, and ‘B’ act as datanode only. With this setup, I could s= tore, read files. Now, I added one more datanode ‘C’ and reliev= ed ‘A’ from datanode duty. This means, ‘A’ act only= as namenode, and both B and C act as datanodes. Now, I tried to create a d= irectory, it says

 =

‘ org.apache.hadoop.hdfs.serv= er.namenode.SafeModeException: Cannot create directory Name node is in safe= mode’

 

 

Can someone tell me why the namenode now is in safe mode?=

 

With thanks and regards

Balachandar

&n= bsp;

 =

 

The inf=
ormation in this e-mail is confidential. The contents may not be disclosed =
or used by anyone other than the addressee. Access to this e-mail by anyone=
 else is unauthorised.
If you are not the intended rec=
ipient, please notify Airbus immediately and delete this e-mail.=
Airbus cannot accept any responsibility for the accuracy or comp=
leteness of this e-mail as it has been sent over public networks. If you ha=
ve any concerns over the content of this message or its Accuracy or Integri=
ty, please contact Airbus immediately.
All outgoing e-=
mails from Airbus are checked using regularly updated virus scanning softwa=
re but you should take whatever measures you deem to be appropriate to ensu=
re that this message and any attachments are virus free.
= --_000_535B028B4629374D86894192BE5184DD273B4374indiambx02corpa_--