hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Virajith Jalaparti <virajit...@gmail.com>
Subject Re: hdfs reformat confirmation message
Date Thu, 23 Jun 2011 13:58:55 GMT
Cool...yeah "echo Y | hadoop namenode -format" works just fine.

Thanks,
Virajith

On Wed, Jun 22, 2011 at 10:35 PM, Joey Echeverria <joey@cloudera.com> wrote:

> You could pipe 'yes' to the hadoop command:
>
> yes | hadoop namenode -format
>
> -Joey
>
> On Wed, Jun 22, 2011 at 4:46 PM, Virajith Jalaparti
> <virajith.j@gmail.com> wrote:
> > Hi,
> >
> > When I try to reformat HDFS (I have to multiple times for some experiment
> I
> > need to run), it asks for a confirmation Y/N. Is there a way to disable
> this
> > in HDFS/hadoop? I am trying to automate my process and pressing Y
> everytime
> > I do this is just a lot of manual work.
> >
> > Thanks,
> > Virajith
> >
>
>
>
> --
> Joseph Echeverria
> Cloudera, Inc.
> 443.305.9434
>

Mime
View raw message