I am create a new cluster based on HDP 2.4. I have installed Ambari, which went smooth. I have setup a Local repository, which has HDP and HDP utilties related files. I have used the same local repository for Ambari installation. I am using the wizard to install a cluster. When click the "Next ->" button at the "Install, Start and test" Wizard dialog box, I get the following error:
resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install 'hbase_2_4_*'' returned 1. Error Downloading Packages:
hadoop_2_4_0_0_169-2.7.1.2.4.0.0-169.el6.x86_64: failure: hadoop/hadoop_2_4_0_0_169-2.7.1.2.4.0.0-169.el6.x86_64.rpm from HDP-2.4: [Errno 256] No more mirrors to try.
I confirm that the repository is up and running. Out of curiosity to find out the real cause of this error, I executed the command /usr/bin/yum -d 10 -e 1 -y install 'hbase_2_4_* at the command prompt and found that the detailed error giving this error.
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
I used to get this error with ambari installation, so I put a line proxy = _none_ in the ambari.repo. However I cannot do this for HDP.repo because if I add this line, ambari is overwriting the HDP.repo file. My yum.conf file has the following entry. If I comment the below line then yum complains about net unreacheable.
proxy=http://xxx.xxx.xxx.xxx:8080