Created 04-06-2016 12:41 AM
I am planning to upgrade from HDP 2.2.6 to HDP 2.4. I am also running Ambari 2.1.0 version. What is the best way to upgrade 2.4.0 ?
Is there a direct way to upgrade to 2.4 from 2.2.6 ? This is what I am planning to upgrade .
Step 1 : Upgrade Ambari 2.2.x version
Step 2 : Upgrade to HDP 2.3.x version ( I can skip this if direct rolling upgrade is available from 2.2 to 2.4)
Step 3 :Upgrade to HDP 2.4 version.
Please give your thoughts and suggestions on this .
I see documents for manual upgrade from 2.2 to 2.4 but I haven't seen documents for rolling upgrade.
Created 04-15-2016 05:32 AM
Hi Anandha,
(1) The same guide applies to upgrades to 2.4
(2) Just set hive.server2.support.dynamic.service.discovery to true in Ambari. You can try without it, then on the page where you decide between Rolling and Express upgrade Ambari will tell you can you proceed or not.
Created 04-06-2016 12:45 AM
Yes, a direct rolling upgrade from HDP 2.2.6 to HDP 2.4.0 is supported. You should first upgrade Ambari to Ambari 2.2.1.1. You can then use that Ambari to do the Rolling upgrade to HDP 2.4.0.
Created 04-06-2016 01:01 AM
Thanks David for the quick response. Do you have documents/reference to rolling upgrade ?
Created 04-06-2016 07:30 AM
Created 04-15-2016 04:25 AM
@jluniya
I just have 2 clarification.
1) For rolling upgrade , I used the documents for 2.2 to 2.3. Can you provide me document link for 2.2 to 2.4 upgrade. I believe it won't be much difference between them.
2) For HPD upgrade, one of the pre-requisite is Hive Dynamic Discovery should be configured for rolling upgrade. What is the impact if we don't have that ?
Created 04-15-2016 05:32 AM
Hi Anandha,
(1) The same guide applies to upgrades to 2.4
(2) Just set hive.server2.support.dynamic.service.discovery to true in Ambari. You can try without it, then on the page where you decide between Rolling and Express upgrade Ambari will tell you can you proceed or not.
Created 04-15-2016 06:01 AM
1) You can follow the same Ambari upgrade guide
2) There is a pre-requisite check for Hive Dynamic Discovery that will block upgrades if this config property is required. Specifically HDP-2.2.x -> HDP-2.2.y upgrades will only WARN if this config property is not set, however HDP-2.2.x -> HDP-2.3.y+ upgrades will be blocked as this pre-req will FAIL.
FYI, the pre-req checks are fairly verbose on what steps to follow just incase you missed on some of these preconditions documented in the upgrade guide.
Created 04-15-2016 11:16 PM
Thanks for the update.