Cool...yeah "echo Y | hadoop namenode -format" works just fine.
Thanks,
Virajith
On Wed, Jun 22, 2011 at 10:35 PM, Joey Echeverria 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
> 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
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 disa
Simply do a "yes Y | hadoop namenode -format".
On Thu, Jun 23, 2011 at 2:16 AM, Virajith Jalaparti
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 try
Well, I think that would be a nice feature to have:
hadoop namenode -reformat -y
What do you think?
Can you add it to the HDFS´s Jira?
Regards
El 6/22/2011 4:46 PM, Virajith Jalaparti escribió:
Hi,
When I try to reformat HDFS (I have to multiple times for some
experiment I need to run), it ask
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