hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kartashov, Andy" <Andy.Kartas...@mpac.ca>
Subject RE: formatting hdfs says could not create jvm
Date Fri, 14 Dec 2012 15:58:49 GMT
You need to format namenode as hdfs user

$sudo -u hdfs hadoop namenode -format

-----Original Message-----
From: Terry Healy [mailto:thealy@bnl.gov]
Sent: Friday, December 14, 2012 10:53 AM
To: user@hadoop.apache.org
Subject: Re: formatting hdfs says could not create jvm

I think this is just a typo?

Use 'hadoop' instead of 'hdfs'

On 12/14/2012 10:47 AM, anand sharma wrote:
> Hi i am following this tutorial for installing hadoop alpha 2.0.2 on
> ubuntu 12.10 and am sure home variables for java and hadoop are
> properly configured.
> http://jugnu-life.blogspot.in/2012/05/hadoop-20-install-tutorial-023x.
> html?showComment=1355499712017#c4821381562859079532
> after all the setup when i try to format hdfs it says something like this..
> hduser@impala:/usr/local/hadoop$ hdfs -format
> i get this error any reason why ..
> Unrecognized option: -format
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> does anyone have any idea about it??
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and
may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not
the intended recipient, please delete and contact the sender immediately. Please consider
the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe
qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts
par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite.
Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement
l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel
View raw message