Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce >> mail # user >> formatting hdfs says could not create jvm


+
anand sharma 2012-12-14, 15:47
+
Andy Isaacson 2012-12-14, 20:42
+
anand sharma 2012-12-15, 00:56
+
Terry Healy 2012-12-14, 15:53
Copy link to this message
-
RE: formatting hdfs says could not create jvm
You need to format namenode as hdfs user

$sudo -u hdfs hadoop namenode -format

-----Original Message-----
From: Terry Healy [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 14, 2012 10:53 AM
To: [EMAIL PROTECTED]
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