Upgrading HDP Manually
Also available as:
PDF
loading table of contents...

Chapter 3. Upgrade from HDP 1.3 to HDP 2.2 Manually

HDP 2.2 supports side-by-side installation of HDP 2.2 and above releases, which lets you perform rolling upgrades on your cluster and improve execution times for in-place upgrade. To support side-by-side installation, the HDP package version naming convention for both RPMs and Debs has changed to include the HDP 2.2 product version. For example, hadoop-hdfs is now hadoop-2.2.9.0-hdfs. HDP 2.2 marks the first release where HDP rpms, debs, and directories contain versions in the names to permit side-by-side installations of later HDP releases.

To select from the releases you have installed side-by-side, Hortonworks provides hdp-select, a command that lets you select the active version of HDP from the versions you have selected.

The HDP packages for a complete installation of HDP 2.2 will take about 2.5 GB of disk space.

[Warning]Warning

Until the upgrade is finalized, no HDFS data is deleted from the cluster. Be sure to review your capacity and ensure that you have extra space available during the upgrade window.

[Note]Note

These instructions cover the upgrade between two major releases. If you need to upgrade between two maintenance releases, follow the upgrade instructions in the HDP Release Notes.

Use the following instructions to upgrade to the latest release of HDP from HDP 1.3:

  1. Download HDP 2.2

  2. Getting Ready to Upgrade

  3. Upgrade Hadoop

  4. Migrate the HDP Configurations

  5. Create Local Directories

  6. Start HDFS

  7. Upgrade Apache ZooKeeper

  8. Upgrade Apache HBase

  9. Upgrade Apache Hive and Apache HCatalog

  10. Upgrade Apache Oozie

  11. Upgrade Apache WebHCat (Templeton)

  12. Upgrade Apache Pig

  13. Upgrade Apache Sqoop

  14. Upgrade Apache Flume

  15. Upgrade Apache Mahout

  16. Upgrade Hue

  17. Finalize the Upgrade

  18. Install new HDP 2.2 Services