hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anand sharma <anand2sha...@gmail.com>
Subject Re: formatting hdfs says could not create jvm
Date Sat, 15 Dec 2012 00:56:20 GMT
Thanks for the generous reply both of you and yes it was a typo and my
mistake. got it working by "hdfs namenode -format" Thanks to Andy.


On Sat, Dec 15, 2012 at 2:12 AM, Andy Isaacson <adi@cloudera.com> wrote:

> On Fri, Dec 14, 2012 at 7:47 AM, anand sharma <anand2sharma@gmail.com>
> 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
>
> The instructions say to run "hdfs namenode -format" but you ran "hdfs
> -format".
>
> Either "hadoop namenode -format" or "hdfs namenode -format" should work
> fine.
>
> The jugnu-life instructions are suboptimal on a few points; just from
> a quick glance I notice
>
>  - the instructions install a 32-bit JVM, hadoop strongly prefers a 64-bit
> JVM.
>  - DSA ssh keys are deprecated, the default RSA keys work better.
>  - config files go in /etc/hadoop/conf/ but the instructions say
> /etc/hadoop/.
>
> I suspect there are more odd things there that I haven't noticed on my
> first glance.
>
> -andy
>

Mime
View raw message