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

Chapter 2. Upgrade from HDP 2.0 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 verison of HDP from the versions you have selected.

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.

This document provides instructions on how to upgrade to HDP 2.2 from the HDP 2.0 release.

[Note]Note

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

  1. Getting Ready to Upgrade

  2. Upgrade HDP 2.0 Components

  3. Symlink Directories with hdp-Select

  4. Configure and Start Apache ZooKeeper

  5. Configure Hadoop

  6. Start Hadoop Core

  7. Verify HDFS Filesystem Health

  8. Configure YARN and MapReduce

  9. Start YARN/MapReduce Service

  10. Run Hadoop Smoke Tests

  11. Configure and Start Apache HBase

  12. Configure and Start Apache Hive and Apache HCatalog

  13. Configure and Start Apache Oozie

  14. Configure and Start Apache WebHCat (Templeton)

  15. Configure and Start Apache Pig

  16. Configure and Start Apache Sqoop

  17. Configure, Start, and Validate Apache Flume

  18. Configure, Start, and Validate Apache Mahout

  19. Configure and Start Hue

  20. Finalize the Upgrade

  21. Install New HDP 2.2 Services