Support Questions

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

How do i upgrade ambari 2.5 to 2.6 in kerberized cluster on aws

avatar
Rising Star
 
1 ACCEPTED SOLUTION

avatar
Master Mentor

@Pathan Shehbaz

While upgrading from HDP 2.5 to HDP 2.6 you do not need to much concern about the kerberos, it will be taken care by ambari.

However you can take a look at the following doc for prerequisite of the upgrade: https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-upgrade/content/upgrading_hdp_sta...

.

>>> Regarding your query on "downgrade ambari...2.5 to 2.3 on VMs"

- That is not possible and not recommended either. Because once the ambari DB schema is upgraded to the higher version then there is no rollback command. So you can only move ahead to the later version.

# ambari-server upgrade

.

(NOT RECOMMENDED) But if you really wan to downgrade ambari then you will have to then you will need to have the previous version of ambari DB dump along with the "/etc/ambari-server/conf" directory backup (specially the ambari.properties) and then you will have to remove the higher version of ambari (using yum remove ambari-server & ambari-agent) and then you will have to do the same on all hosts to downgrade the ambari agent by uninstalling the higher version of agent and installing the lower version of agent there (but make sure to take a backup of "/etc/ambari-agent/conf". Then you can restore the Previous version of ambari's DB dump to get the older version of ambari installed.

.

View solution in original post

5 REPLIES 5

avatar
Master Mentor

@Pathan Shehbaz

The current version of ambari is 2.5.1. Ambari 2.6 is not yet available. https://docs.hortonworks.com/HDPDocuments/Ambari/Ambari-2.5.1.0/index.html

.

Are you talking about HDP 2.5 to HDP 2.6 upgrade?

avatar
Rising Star

Hi...Jay....yes....HDP 2.5 to 2.6

and also downgreade ambari...2.5 to 2.3 on VMs

avatar
Master Mentor

@Pathan Shehbaz

While upgrading from HDP 2.5 to HDP 2.6 you do not need to much concern about the kerberos, it will be taken care by ambari.

However you can take a look at the following doc for prerequisite of the upgrade: https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-upgrade/content/upgrading_hdp_sta...

.

>>> Regarding your query on "downgrade ambari...2.5 to 2.3 on VMs"

- That is not possible and not recommended either. Because once the ambari DB schema is upgraded to the higher version then there is no rollback command. So you can only move ahead to the later version.

# ambari-server upgrade

.

(NOT RECOMMENDED) But if you really wan to downgrade ambari then you will have to then you will need to have the previous version of ambari DB dump along with the "/etc/ambari-server/conf" directory backup (specially the ambari.properties) and then you will have to remove the higher version of ambari (using yum remove ambari-server & ambari-agent) and then you will have to do the same on all hosts to downgrade the ambari agent by uninstalling the higher version of agent and installing the lower version of agent there (but make sure to take a backup of "/etc/ambari-agent/conf". Then you can restore the Previous version of ambari's DB dump to get the older version of ambari installed.

.

avatar
Master Mentor

@Pathan Shehbaz

If you do not have any further query regarding this HCC thread, then we can close this thread by marking the answer as "Accepted" (Answered) that way it will be easy for other users to quickly browse the answered queries.

avatar
Rising Star

Thanks Jay!!! I will follow the Hortonworks Docs