-Re: issue about namenode format command
Arpit Gupta 2013-10-23, 14:54
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.
On Oct 22, 2013, at 10:31 PM, ch huang <[EMAIL PROTECTED]> wrote:
> i want to do namenode format in script, how can run the format command non-interactively
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.