hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joey Echeverria <j...@cloudera.com>
Subject Re: hdfs reformat confirmation message
Date Wed, 22 Jun 2011 21:35:16 GMT
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