9a6d8e70_Hadoop_Commands_Guide__Description
[COMMAND_OPTION] -finalizeUpgrade [Description] 
Finalize upgrade of HDFS. Datanodes delete their previous version working directories, followed by Namenode doing the same. This completes the upgrade process.
Hadoop Commands Guide