Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 798D5E6D6 for ; Wed, 6 Mar 2013 09:51:45 +0000 (UTC) Received: (qmail 5238 invoked by uid 500); 6 Mar 2013 09:51:40 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 5132 invoked by uid 500); 6 Mar 2013 09:51: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 5122 invoked by uid 99); 6 Mar 2013 09:51:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 09:51:40 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [81.252.56.9] (HELO airbus-sf1.airbus.gmessaging.net) (81.252.56.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 09:51:31 +0000 Received: from airbus-sf1.airbus.gmessaging.net (localhost.localdomain [127.0.0.1]) by localhost.airbus.gmessaging.net (Postfix) with SMTP id DE78A7943D1 for ; Wed, 6 Mar 2013 10:51:10 +0100 (CET) Received: from de0-mailhub-p11.res.airbus.corp (unknown [44.225.3.152]) by airbus-sf1.airbus.gmessaging.net (Postfix) with ESMTP id AB33A7943BB for ; Wed, 6 Mar 2013 10:51:10 +0100 (CET) Received: from DE0-MAILMBX-P21.res.airbus.corp ([44.225.3.150]) by de0-mailhub-p11.res.airbus.corp ([44.225.3.152]) with mapi; Wed, 6 Mar 2013 10:51:10 +0100 From: "AMARNATH, Balachandar" To: "user@hadoop.apache.org" Date: Wed, 6 Mar 2013 10:51:07 +0100 Subject: Issue: Namenode is in safe mode Thread-Topic: Issue: Namenode is in safe mode Thread-Index: Ac4aUB/UQzB7GYCcQlmJWSDPGn9MZQ== Message-ID: <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_E6472BD072676843ADB8D37E50F4C88D0BF8656C02DE0MAILMBXP21_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_E6472BD072676843ADB8D37E50F4C88D0BF8656C02DE0MAILMBXP21_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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_E6472BD072676843ADB8D37E50F4C88D0BF8656C02DE0MAILMBXP21_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
 
Hi,
 
I have created a hadoop cl= uster with two nodes (A and B). ‘A’ act both as namenode and da= tanode, and ‘B’ act as datanode only. With this setup, I could = store, read files. Now, I added one more datanode ‘C’ and relie= ved ‘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 dire= ctory, it says
 
‘ org.apache.hadoop.= hdfs.server.namenode.SafeModeException: Cannot create directory Name node i= s in safe mode’
 
 
Can someone tell me why th= e namenode now is in safe mode?
 
With thanks and regards
Balachandar
 
 
 
The information in this e-mail is confidential. The contents may not b=
e disclosed or used by anyone other than the addressee. Access to this e-ma=
il 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_E6472BD072676843ADB8D37E50F4C88D0BF8656C02DE0MAILMBXP21_--