<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Forbidden 403 error on HDP 2.4 installation. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forbidden-403-error-on-HDP-2-4-installation/m-p/164358#M24888</link>
    <description>&lt;P&gt;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 -&amp;gt;" button at the "Install, Start and test" Wizard dialog box, I get the following error:&lt;/P&gt;&lt;PRE&gt;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.&lt;/PRE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;proxy=http://xxx.xxx.xxx.xxx:8080 &lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2016 14:49:45 GMT</pubDate>
    <dc:creator>pradeep_tp</dc:creator>
    <dc:date>2016-04-11T14:49:45Z</dc:date>
    <item>
      <title>Forbidden 403 error on HDP 2.4 installation.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forbidden-403-error-on-HDP-2-4-installation/m-p/164358#M24888</link>
      <description>&lt;P&gt;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 -&amp;gt;" button at the "Install, Start and test" Wizard dialog box, I get the following error:&lt;/P&gt;&lt;PRE&gt;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.&lt;/PRE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;proxy=http://xxx.xxx.xxx.xxx:8080 &lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 14:49:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forbidden-403-error-on-HDP-2-4-installation/m-p/164358#M24888</guid>
      <dc:creator>pradeep_tp</dc:creator>
      <dc:date>2016-04-11T14:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Forbidden 403 error on HDP 2.4 installation.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forbidden-403-error-on-HDP-2-4-installation/m-p/164359#M24889</link>
      <description>&lt;P&gt;I have fixed it myself. For those who might face the same issue. This is what I did. Basically HDP.repo should be told to skip proxy server, but  if you edit HDP.repo, Ambari wizard will overwrite it. So what is the workaround?. This is how you make HDP.repo skip the proxy. Just add the following lines to the yum.conf file for all the nodes. It worked for me. Hope this helps! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;[HDP-2.4] &lt;/P&gt;&lt;P&gt;name=HDP-2.4 &lt;/P&gt;&lt;P&gt;proxy = _none_ &lt;/P&gt;&lt;P&gt;baseurl=http://item-70288/hdp/HDP/centos6/2.x/updates/2.4.0.0 &lt;/P&gt;&lt;P&gt;enabled=1 &lt;/P&gt;&lt;P&gt;gpgcheck=0&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 16:57:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forbidden-403-error-on-HDP-2-4-installation/m-p/164359#M24889</guid>
      <dc:creator>pradeep_tp</dc:creator>
      <dc:date>2016-04-11T16:57:03Z</dc:date>
    </item>
  </channel>
</rss>

