Command Line Upgrade
Also available as:
loading table of contents...

Finalize the Upgrade


The su commands in this section use keywords to represent the Service user. For example, "hdfs" is used to represent the HDFS Service user. If you are using another name for your Service users, you need to substitute your Service user name in each of the su commands.

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

  1. Verify your filesystem health before finalizing the upgrade. After you finalize an upgrade, your backup is discarded!

  2. As the $HDFS_USER, enter:

    su - hdfs -c "dfsadmin -finalizeUpgrade"