Chapter 14. Creating a local HDP-GPL repository
Case study for setting up an HDP-GPL local repository
If the cluster is using the GPL components, the HDP-GPL repository must mirror the HDP repository:
Set up a local HDP-GPL repository
wget -nv
mkdir -p /var/www/html/hdp-gpl/centos7
cd /var/www/html/hdp-gpl/centos7/
reposync -r HDP-GPL-2.6.5.0
createrepo /var/www/html/hdp-gpl/centos7/HDP-GPL-2.6.5.0/
Edit /etc/ambari-server/conf/ambari.properties
Replace gpl.license.accepted=false with gpl.license.accepted=true
Restart Ambari server
You must edit the HDP-GPL repository similar to the HDP repository. However, the URL and Local repository contents, and the UI fields are different for both the repositories. For more information on updating the version repository, see Update version repository base urls
If you do not plan use the GPL components, disable the gpl.license.accepted property.
Restart Ambari server