namenode format



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

2 Answer(s)


0

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.

0

Hi Rajesh,

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