Configuring Remote Repositories
The standard HDP install fetches the software from a remote yum repository over the Internet. To use this option, you must set up access to the remote repository and have an available Internet connection for each of your hosts. To download the HDP maven artifacts and build your own repository, see Download the HDP Maven Artifacts
Important | |
---|---|
See the HDP Release Notes for the HDP 2.6.2.0 repo information. |
Note | |
---|---|
If your cluster does not have access to the Internet, or if you are creating a large cluster and you want to conserve bandwidth, you can instead provide a local copy of the HDP repository that your hosts can access. For more information, see Deploying HDP in Production Data Centers with Firewalls in the HDP Reference Guide. |
6.x line of RHEL/CentOS/Oracle Linux
wget -nv https://archive.cloudera.com/p/HDP/2.x/2.6.2.0/centos6/hdp.repo -O /etc/yum.repos.d/hdp.repo
7.x line of RHEL/CentOS/Oracle Linux
wget -nv https://archive.cloudera.com/p/HDP/2.x/2.6.2.0/centos7/hdp.repo
SLES
wget -nv https://archive.cloudera.com/p/HDP/2.x/2.6.2.0/suse11sp3/hdp.repo
Ubuntu
apt-get update wget https://archive.cloudera.com/p/HDP/2.x/2.6.2.0/ubuntu<version>/hdp.list -O /etc/apt/sources.list.d/hdp.list
Debian
apt-get update wget https://archive.cloudera.com/p/HDP/2.x/2.6.2.0/debian<version>/hdp.list -O /etc/apt/sources.list.d/hdp.list