namenode format

have a situation here. i am forced to run namenode format before a clean start of all services the next day

2 Answer(s)


hi Rajesh,

Without any logs it's not possible to suggest the next steps. Can you look into hadoop/logs and check the namenode log for exact error.


Hi Rajesh,

Please stop all the service by using the command -
Then format the namenode using the command - hadoop namenode -format
Start all the services by command-
Hope this helps.

Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)