Select a local mirror server host with the following characteristics:
This server runs on either CentOS (v5.x, v6.x) or RHEL (v5.x, v6.x) and has several GB of storage available.
The local mirror server and the cluster nodes must have the same OS. If they are not running CentOS or RHEL, the mirror server must not be a member of the Hadoop cluster.
Note To support repository mirroring for heterogeneous clusters requires a more complex procedure than the one documented here.
The firewall allows all cluster nodes (the servers on which you want to install HDP) to access this server.
Ensure that the mirror server has yum installed.
Add the yum-utils and createrepo packages on the mirror server.
yum install yum-utils createrepo