Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> hdfs format command issue


Copy link to this message
-
Re: hdfs format command issue
this should help.

echo Y | ${hadoophdfshome}/bin/hdfs namenode -format

-giri

On Sat, Aug 13, 2011 at 8:41 AM, Dhodapkar, Chinmay
<[EMAIL PROTECTED]>wrote:

> I am trying to automate the installation/bringup of a complete hadoop/hbase
> cluster from a single script. I have run into a very small issue...
> Before bringing up the namenode, I have to format it with the usual "hadoop
> namenode -format"
>
> Executing the above command prompts the user for Y/N?. Is there an option
> that can be passed to force the format without prompting?
> The aim is for the script to complete without any human intervention...
>
>
>
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB