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
