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 |
|---|---|
After you have finalized the upgrade, you cannot revert. |
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"
Where
%HDFS_HOME%is the HDFS home directory, for examplec:\hdp.To finalize the upgrade, run the following command:
hdfs dfsadmin -finalizeUpgrade

![[Note]](../common/images/admon/note.png)
