Manual CDH Upgrade Steps for DSSD D5
Do the steps in this section only if the upgrade wizard reports a failure or you choose Manual Upgrade from the Upgrade wizard.
Back Up Metastore Databases
For each affected service:
- If not already stopped, stop the service.
- Back up the database. See Backing Up Databases.
Upgrade HDFS Metadata
If you are upgrading from CDH 5.8 to CDH 5.9 or higher, upgrade the HDFS metadata:
- Start the ZooKeeper service.
- Go to the HDFS service.
- Select Upgrade HDFS Metadata to confirm. and click
Upgrade the Oozie ShareLib
- Go to the Oozie service.
- Select Start to confirm. and click
- Select Install Oozie ShareLib to confirm. and click
Upgrade Sqoop
- Go to the Sqoop service.
- Select Stop to confirm. and click
- Select Upgrade Sqoop to confirm. and click
Upgrade Spark
- Go to the Spark service.
- Select Stop to confirm. and click
- Select Install Spark JAR to confirm. and click
Start Cluster Services
- On the tab, click to the right of the cluster name and select Start.
- Click Start that appears in the next screen to confirm. The Command Details window shows the progress of starting services.
When All services successfully started appears, the task is complete and you can close the Command Details window.
Finalize HDFS Metadata Upgrade
Finalize the HDFS metadata upgrade. To determine when to finalize the upgrade, run important workloads and ensure that they are successful. After you have finalized the upgrade, you
cannot roll back to a previous version of HDFS without using backups. Verifying that you are ready to finalize the upgrade can take a long time. Make sure you have enough free disk
space, keeping in mind that the following behavior continues until the upgrade is finalized:
- Deleting files does not free up disk space.
- Using the balancer causes all moved replicas to be duplicated.
- All on-disk data representing the NameNodes metadata is retained, which could more than double the amount of space required on the NameNode and JournalNode disks.
If you are performing the manual steps on this page because of a failed rolling upgrade, use the following steps to Finalize the HDFS Metadata Upgrade:
- Go to the HDFS service.
- Select Finalize Rolling Upgrade to confirm. and click
Otherwise, finalize the HDFS Metadata upgrade using the following steps:
- Go to the HDFS Service.
- Select the Instances tab.
- From the list of Roles, click NameNode.
- Select .