Created 12-15-2018 03:41 PM
Hello,
Why does not datanodes formatted during formatting the namenode server.
Thank you.
Created 12-15-2018 03:55 PM
@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.
Created 12-30-2018 06:37 AM
Do accept this answer and close this thread if it helped in addressing your query.
Created 02-01-2019 05:15 AM
Hi Sandeep,
Even we format namenode again we can loose the data. My question is why only namenode format why not datanodes.