20. Finalizing Your Upgrade

When you are satisfied that HDP is successfully functioning with the data from your HDP 2.2 cluster, finalize the upgrade.

[Warning]Warning

Once you have finalized the upgrade, you cannot revert.

  1. Open a command prompt with the hadoop user in the HDFS Home directory:

    runas /user:hadoop "cmd /K cd %HDFS_HOME%\bin"

  2. Finalize the upgrade:

    hdfs dfsadmin -finalizeUpgrade