Optionally, to enable NameNode High Availability in a multi-node cluster, run the following commands on the primary and standby hosts while services are starting.
Important | |
---|---|
Log in to every host and run these commands as an administrator user. |
On the primary host, run
hdfs.cmd namenode -format -force
On each standby host, run
hdfs.cmd namenode -bootstrapStandby -force
hdfs.cmd zkfc -formatZK -force