Created on 02-25-2018 02:31 PM - edited 08-17-2019 05:42 PM
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
Created 02-25-2018 03:36 PM
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
Created 02-25-2018 03:50 PM
@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
Created 02-25-2018 03:58 PM
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 ?
Created 07-21-2018 08:42 AM
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