16. Finalize Upgrade

When you are satisfied that HDP is successfully functioning with the data maintained from the HDP 1.3 or 2.0 cluster, finalize the upgrade.

[Note]Note

After you have finalized the upgrade, you cannot revert.

  1. Run the following command to open a command prompt with the HDFS user in the HDFS Home directory:

    runas /user:hdfs "cmd /K cd %HDFS_HOME%\bin"
  2. To finalize the upgrade, run the following command:

    hdfs dfsadmin -finalizeUpgrade 

loading table of contents...