Upgrading HDP 2.5 to 2.6

Register and Install Target Version

Log in to Ambari. Browse to Admin -> Stack and Versions. Click the Versions tab. Click Manage Versions and click OK.

Register new version

Register version 2.6

Install Target Version


Perform the upgrade


Now you choose the upgrade type. Since I can afford downtime on my cluster, I went with Express Upgrade. There are some checks that are run prior to choosing the upgrade type. If all goes well with checks, click on Express Upgrade and the following confirmation window appears.

confirmation express upgrade

Click Yes to start the upgrade.


Errors during the upgrade

Some errors might come during the upgrade. It is possible to read the error message in Ambari, fix it and resume the install. One example of an error I fixed this way was a missing file for Ranger:

error message: FAILED: RuntimeException java.io.FileNotFoundException: /etc/hive/ (No such file or directory)

The fix is the following

sudo cp /etc/hive/ /etc/hive/

And the upgrade can continue from Ambari.

Post-upgrade tasks

If you disabled the Service Auto Start option in Ambari, enable it again.

Admin -> Service Auto Start -> Enable


The HDP cluster is now upgraded to version 2.6. One easy check (and my motivation to upgrade ASAP) is to click Add Services and you can see service Druid available to install.

2 thoughts on “Upgrading HDP 2.5 to 2.6

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s