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
MapReduce >> mail # user >> issue about namenode format command


Copy link to this message
-
Re: issue about namenode format command
Looks like the doc's on apache are missing this info.

Format in Hadoop 2 supports the following options

-format [-clusterid cid ] [-force] [-nonInteractive]
-nonInteractive will not prompt but will fail if the name dir exists.

-force will not prompt and will delete the contents of the name dir.

--
Arpit Gupta
Hortonworks Inc.
http://hortonworks.com/

On Oct 22, 2013, at 10:31 PM, ch huang <[EMAIL PROTECTED]> wrote:

> hi,all:
>         i want to do namenode format in script, how can run the format command non-interactively
>  
> thanks
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
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