Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

upgrade HDP and ambari to the latest versions

avatar

hi all


we prepare to upgrade our cluster

we have HDP version - 2.6.4 and ambari - 2.6.1


we want to upgrade to the latest HDP 3.1 and latest ambari 2.7.2


what are the hortonworks document that explain this upgrade ?


is it safe to jump from old HDP and ambari version to the latest ?

dose hortonwoks tested this scenario ? ( upgrade HDP 2.6.4 to HDP 3.1 )

Michael-Bronson
1 ACCEPTED SOLUTION

avatar
Master Mentor

@Michael Bronson

:: we want to upgrade to the latest HDP 3.1 and latest ambari 2.7.2

>>> Ambari 2.7.3 is better option and more recommended then Ambari 2.7.2. So if you are planning to upgrade Ambari then please go for Ambari 2.7.3 (instead of 2.7.2)


The Steps will be as following:

1. Upgrade Ambari-2.6.x to Ambari-2.7.3.

2. Then, use Ambari-2.7.3 to upgrade HDP-2.6.x to HDP-3.1.0.


Query: is it safe to jump from old HDP and ambari version to the latest ?

Yes, As per upgrade path you can upgrade from Ambari 2.6.1 to Ambari 2.7.3


Query: dose hortonwoks tested this scenario ? ( upgrade HDP 2.6.4 to HDP 3.1 )

Ambari 2.7.3 only supports fully managing a HDP 3.1.x cluster. Not all cluster management operations are supported when using Ambari 2.7.3 with HDP 2.6. Which means once the Ambari Upgrade to 2.7.3 is is best to start upgrading HDP to 3.1. So you should plan accordingly.


While you are planning to upgrade to Ambari 2.7.3 (from Ambari 2.6) then please also make a note to take a Ambari DB dump before the ambari upgrade and also go through the Supported DB versions from the following link. As you might also have to upgrade the Database.


DB related.

For example Ambari 2.6.1 supports Postgres 9.4 / 9.3 / 9.1.13+. MySQL 5.6 Maria DB 10.1. ...etc

But Ambari 2.7.3 is tested and certified with Postgres 10.5/ 10.2 / 9.6 and MySQL 5.7 and MariaDB 10.2 ....etc

https://supportmatrix.hortonworks.com/


Also during the Ambari upgrade following will be removed: Please refer to : https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-upgrade-major/content/bhvr_change...


The Ambari 2.6.x to Ambari 2.7.3 (HDP 3.1) upgrade will remove the following views:

Hive View 1.5, Hive View 2
Hue To Ambari View Migration
Slider
Storm
Tez
Pig


Rest of the step by step instructions can be found in the following Doc:

https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-upgrade-major/content/ambari_upgr...



It will be also good to go through the Ambari Release Notes specially the "Behaviour Change" & "New Features" of Ambari 2.7.0 / 2.7.1 / 2.7.3 before the upgrade so that you will be aware of some of the changes.

For example in case of Kerberos Environment you should have the kadmin/ principal existing in your KDC server already (or you will have to create one) as described in: https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-upgrade-major-ppc/content/upgradi...



https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-release-notes/content/ch_relnotes...

https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.1.0/bk_ambari-release-notes/content/ch_relnotes...

https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/ambari-release-notes/content/ambari_relnote...


View solution in original post

2 REPLIES 2

avatar
Master Mentor

@Michael Bronson

:: we want to upgrade to the latest HDP 3.1 and latest ambari 2.7.2

>>> Ambari 2.7.3 is better option and more recommended then Ambari 2.7.2. So if you are planning to upgrade Ambari then please go for Ambari 2.7.3 (instead of 2.7.2)


The Steps will be as following:

1. Upgrade Ambari-2.6.x to Ambari-2.7.3.

2. Then, use Ambari-2.7.3 to upgrade HDP-2.6.x to HDP-3.1.0.


Query: is it safe to jump from old HDP and ambari version to the latest ?

Yes, As per upgrade path you can upgrade from Ambari 2.6.1 to Ambari 2.7.3


Query: dose hortonwoks tested this scenario ? ( upgrade HDP 2.6.4 to HDP 3.1 )

Ambari 2.7.3 only supports fully managing a HDP 3.1.x cluster. Not all cluster management operations are supported when using Ambari 2.7.3 with HDP 2.6. Which means once the Ambari Upgrade to 2.7.3 is is best to start upgrading HDP to 3.1. So you should plan accordingly.


While you are planning to upgrade to Ambari 2.7.3 (from Ambari 2.6) then please also make a note to take a Ambari DB dump before the ambari upgrade and also go through the Supported DB versions from the following link. As you might also have to upgrade the Database.


DB related.

For example Ambari 2.6.1 supports Postgres 9.4 / 9.3 / 9.1.13+. MySQL 5.6 Maria DB 10.1. ...etc

But Ambari 2.7.3 is tested and certified with Postgres 10.5/ 10.2 / 9.6 and MySQL 5.7 and MariaDB 10.2 ....etc

https://supportmatrix.hortonworks.com/


Also during the Ambari upgrade following will be removed: Please refer to : https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-upgrade-major/content/bhvr_change...


The Ambari 2.6.x to Ambari 2.7.3 (HDP 3.1) upgrade will remove the following views:

Hive View 1.5, Hive View 2
Hue To Ambari View Migration
Slider
Storm
Tez
Pig


Rest of the step by step instructions can be found in the following Doc:

https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-upgrade-major/content/ambari_upgr...



It will be also good to go through the Ambari Release Notes specially the "Behaviour Change" & "New Features" of Ambari 2.7.0 / 2.7.1 / 2.7.3 before the upgrade so that you will be aware of some of the changes.

For example in case of Kerberos Environment you should have the kadmin/ principal existing in your KDC server already (or you will have to create one) as described in: https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-upgrade-major-ppc/content/upgradi...



https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-release-notes/content/ch_relnotes...

https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.1.0/bk_ambari-release-notes/content/ch_relnotes...

https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/ambari-release-notes/content/ambari_relnote...


avatar

@Dear Jay , thank you so much for the grate answer , just one additional question - about my post ( https://community.hortonworks.com/questions/248726/hdp-upgrade-from-264-to-265-is-it-necessary-to-up... ) , its not clearly if I can to upgrade HDP to 2.6.5 from 2.6.4 without ambari upgrade from 2.6.1 to. 2.6.2


so in simple words - can we just upgrade from 2.6.4 to 2.6.5 while ambari will stay with version - 2.6.1 ?

its very important because on the matrix version the answer is yes


but from hortonworks document the answer is different


so we are very confused here - please help us to know the final answer

Michael-Bronson