Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Why not datanode format

Why not datanode format

Contributor

Hello,

Why does not datanodes formatted during formatting the namenode server.

Thank you.

3 REPLIES 3

Re: Why not datanode format

@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.

Re: Why not datanode format

@Nilesh

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

Highlighted

Re: Why not datanode format

Contributor

Hi Sandeep,

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