Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ubuntu 14.04 upgrade without HDP upgrade

Solved Go to solution

Ubuntu 14.04 upgrade without HDP upgrade

Explorer

Hi,

I have just upgraded to a HDP-2.4.2 and Ambari 2.2.2.0. The cluster is installed on 6 nodes running Ubuntu 14.04 server. I want to update the Ubuntu packages (apt-get dist-upgrade), without updating/modifying the HDP packages. What should I consider when doing this?

Do I have to remove the hortonworks repo during the upgrade and add it later? Are there any side effects that must be taken into account?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Ubuntu 14.04 upgrade without HDP upgrade

Mentor

You can exclude HDP repo during upgrade there are ways of doing that with RHEL with disablerepo clause, same should be available in Ubuntu. I must agree with Ryan that if you're on latest HDP then updating OS should already be done for you. What version of Ubuntu did you use to install HDP?

4 REPLIES 4

Re: Ubuntu 14.04 upgrade without HDP upgrade

Hi @Angel Kafazov

If you upgraded HDP and Ambari to their latest versions, what are you worried about on updating your Ubuntu packages (since HDP and Ambari are already at their latest versions)?

Referring to

https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Installing_HDP_AMB/content/_download_the...

if you want a version of Ambari later than 2.2.2, wouldn't you need to add a new repo? wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.2.0/ambari.list -O /etc/apt/sources.list.d/ambari.list (later than 2.2.2)?

Re: Ubuntu 14.04 upgrade without HDP upgrade

Mentor

You can exclude HDP repo during upgrade there are ways of doing that with RHEL with disablerepo clause, same should be available in Ubuntu. I must agree with Ryan that if you're on latest HDP then updating OS should already be done for you. What version of Ubuntu did you use to install HDP?

Re: Ubuntu 14.04 upgrade without HDP upgrade

Explorer

Thank you. I have updated to the latest HDP 2.4 but that might be a newer version when I do the ubuntu update. Currently, I am running Ubuntu 14.04. It seems like the best solution would be to disable the hortonworks repo during the upgrade and then enable it again.

Re: Ubuntu 14.04 upgrade without HDP upgrade

Mentor

I recommend you try it in dev or on virtual environment. Did you use Ubuntu 14.04 to install HDP? Probably not. Do one machine at a time.