If the cluster is using the GPL components, you must replace the HDP-GPL repository URL with a local repository.
- Set up a local HDP-GPL repository
wget -nv https://archive.cloudera.com/p/HDPDC/7.x/7.1.7.2000/centos7/hdp.repo -O /etc/yum.repos.d/hdp.gpl.repomkdir -p /var/www/html/hdp-gpl/centos7cd /var/www/html/hdp-gpl/centos7/reposync -r HDP-GPL-7.1.x.xcreaterepo /var/www/html/hdp-gpl/centos7/HDP-GPL-7.1.x.x/
-
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