Ian "echo 'Y' | hadoop namenode -format" should work.,
Raj >________________________________ >From: "[email protected]" <[email protected]> >To: [email protected] >Sent: Thursday, September 22, 2011 2:43 PM >Subject: formatting hdfs without user interaction > >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 > > >
