Support Questions
Find answers, ask questions, and share your expertise

upgrade HDP to 2.6.4 and GPL repo

Highlighted

upgrade HDP to 2.6.4 and GPL repo

we want to upgrade the HDP to 2.6.4 version

from ambari GUI we need to select the local repo

but we see that additional repo exists - HDP-2.6-GPL

while we are using only two repo - HDP-2.6 and HDP-UTILS-1.1.0.22

so how to disable this repo - HDP-2.6-GPL ? ,

we cant continue the upgrade because wizard insist to enter the HDP-2.6-GPL url

but we are not use this repo

63455-capture.png

Michael-Bronson
4 REPLIES 4
Highlighted

Re: upgrade HDP to 2.6.4 and GPL repo

Mentor

@Michael Bronson

Are you using local or public repo? You can download the repo as follows if using the public

# wget -nv http://public-repo-1.hortonworks.com/HDP-GPL/centos7/2.x/updates/2.6.4.0/hdp.gpl.repo  -O /etc/yum.repos.d/hdp.gpl.repo

Validate

# yum repolist 

If using local repo, just follow the same procedure for creation of local repos for HDP cluster installs

Hope that helps

Highlighted

Re: upgrade HDP to 2.6.4 and GPL repo

@Geoffrey thank you for the response , but we are using only local repo , so if we download by wget , this repo its actually refers to Horton-works and we want the repo as local ,

this is the repo that we download per your suggestion , but we are using only local repo , in that case what we should do?

more hdp.gpl.repo
#VERSION_NUMBER=2.6.4.0-91
[HDP-GPL-2.6.4.0]
name=HDP-GPL Version - HDP-GPL-2.6.4.0
baseurl=http://public-repo-1.hortonworks.com/HDP-GPL/centos7/2.x/updates/2.6.4.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/HDP-GPL/centos7/2.x/updates/2.6.4.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
Michael-Bronson
Highlighted

Re: upgrade HDP to 2.6.4 and GPL repo

dose we need to download the HDP GPL packages ? as we do that for HDP version - wget http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.4.0/HDP-2.6.4.0-centos7-rpm.tar.gz ? , in that case how to download the GPL by wget ?

Michael-Bronson
Highlighted

Re: upgrade HDP to 2.6.4 and GPL repo

Following these steps for local GPL

Download its from it appropriate link (for HDP 3.0: http://public-repo-1.hortonworks.com/HDP-GPL/centos7/3.x/updates/3.0.0.0/HDP-GPL-3.0.0.0-centos7-gpl...

tar -zvxf HDP-GPL-3.0.0.0-centos7-gpl.tar.gz -C /var/www/html/repo

It will create folder HDP-GPL in /var/www/html/repo

Now create

cd /etc/yum.repos.d

gedit hdp.gpl.repo

------------------

#VERSION_NUMBER=3.0.0.0-1634

[HDP-GPL-3.0.0.0]

name=HDP-GPL

Version - HDP-GPL-3.0.0.0

baseurl=http://<primary hostname>/repo/HDP-GPL/centos7/3.0.0.0-1634/

gpgcheck=1

gpgkey=http://<primary hostname>/repo/HDP-GPL/centos7/3.0.0.0-1634/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins

enabled=1

priority=1

------------------

Note: Use your HDP version URLs