16. Finalize Upgrade

You can start HDFS without finalizing the upgrade. When you are ready to discard your backup, you can finalize the upgrade.

[Warning]Warning

You must verify your filesystem health before finalizing the upgrade. After you finalize an upgrade, you cannot roll back.

Run the following command as the $HDFS_USER:

hdfs dfsadmin -finalizeUpgrade

loading table of contents...