Support Questions

Find answers, ask questions, and share your expertise

Why not datanode format

Contributor

Hello,

Why does not datanodes formatted during formatting the namenode server.

Thank you.

3 REPLIES 3

@Nilesh, Pls refer : https://issues.apache.org/jira/browse/HDFS-107

TLDR; the option to format datanode dirs was not added as it is risky and will cause data loss (if miss used).

Hope this helps.

@Nilesh

Do accept this answer and close this thread if it helped in addressing your query.

Contributor

Hi Sandeep,

Even we format namenode again we can loose the data. My question is why only namenode format why not datanodes.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.