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

Switch to Threaded View
Hadoop >> mail # user >> formatting hdfs without user interaction


Copy link to this message
-
Re: formatting hdfs without user interaction
you could try

echo yes | bin/hadoop namenode -format

--
Arpit
[EMAIL PROTECTED]
On Sep 22, 2011, at 2:43 PM, <[EMAIL PROTECTED]> wrote:

> Hello,
>
> I am trying to automate formatting an HDFS volume.  Is there any way to do this without the interaction (and using expect)?
>
> Cheers,
> Ivan