<?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 Re: Ambari HDP installation fails with no more mirrors to try error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153793#M32760</link>
    <description>&lt;P&gt;not sure &lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt;, I've to check with the system admin for proxy.
Do we have to configure anything extra if we use a proxy ?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2016 17:11:19 GMT</pubDate>
    <dc:creator>AmanMundra</dc:creator>
    <dc:date>2016-06-23T17:11:19Z</dc:date>
    <item>
      <title>Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153791#M32758</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to install hadoop components using ambari server and it is failing in the last step(install, start, test step).
Everything looks fine to me, internet is working fine and yum repos also seems fine to me.&lt;/P&gt;&lt;P&gt;I tried to run the same command manually from terminal also and it worked perfectly. but the script is not able to run that command.&lt;/P&gt;&lt;P&gt;Can anyone please suggest what exactly the issue is.
Attaching log and yum dir screenshots.&lt;/P&gt;&lt;PRE&gt;stderr:   /var/lib/ambari-agent/data/errors-794.txt
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py", line 167, in &amp;lt;module&amp;gt;
    DataNode().execute()

File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py", line 49, in install self.install_packages(env, params.exclude_packages) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 404, in install_packages Package(name) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 49, in action_install self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos) File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 49, in install_package shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput()) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner result = function(command, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call tries=tries, try_sleep=try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call raise Fail(err_msg) resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install 'hadoop_2_4_*-libhdfs'' returned 1. Error Downloading Packages: hadoop_2_4_0_0_169-libhdfs-2.7.1.2.4.0.0-169.el6.x86_64: failure: hadoop/hadoop_2_4_0_0_169-libhdfs-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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5196-untitled.png" style="width: 1118px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21020i8D089623D340510C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5196-untitled.png" alt="5196-untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:36:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153791#M32758</guid>
      <dc:creator>AmanMundra</dc:creator>
      <dc:date>2019-08-18T12:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153792#M32759</link>
      <description>&lt;P&gt;Are you using any proxy to access internet?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 16:56:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153792#M32759</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-06-23T16:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153793#M32760</link>
      <description>&lt;P&gt;not sure &lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt;, I've to check with the system admin for proxy.
Do we have to configure anything extra if we use a proxy ?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 17:11:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153793#M32760</guid>
      <dc:creator>AmanMundra</dc:creator>
      <dc:date>2016-06-23T17:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153794#M32761</link>
      <description>&lt;P&gt;can you please share the output of below command from that node where its failing?&lt;/P&gt;&lt;PRE&gt;yum list 'hadoop_2_4*-libhdfs*'
&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jun 2016 17:14:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153794#M32761</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-06-23T17:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153795#M32762</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt;, I just checked and yes it's behind a proxy.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 17:15:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153795#M32762</guid>
      <dc:creator>AmanMundra</dc:creator>
      <dc:date>2016-06-23T17:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153796#M32763</link>
      <description>&lt;P&gt;please follow this doc for ambari internet proxy setup.&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_reference_guide/content/_how_to_set_up_an_internet_proxy_server_for_ambari.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_reference_guide/content/_how_to_set_up_an_internet_proxy_server_for_ambari.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 17:18:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153796#M32763</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-06-23T17:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153797#M32764</link>
      <description>&lt;P&gt;Here's the output for above command:
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5198-untitled.png" style="width: 1310px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21019i812C526409DEB5BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5198-untitled.png" alt="5198-untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:35:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153797#M32764</guid>
      <dc:creator>AmanMundra</dc:creator>
      <dc:date>2019-08-18T12:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153798#M32765</link>
      <description>&lt;P&gt;I setup the proxy like this and still it's failing with same error message.
&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5199-untitled.png" style="width: 1310px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21018iEA9643DD4598DE8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5199-untitled.png" alt="5199-untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:35:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153798#M32765</guid>
      <dc:creator>AmanMundra</dc:creator>
      <dc:date>2019-08-18T12:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153799#M32766</link>
      <description>&lt;P&gt;You added it  in wrong way, you need to append those confs in AMBARI_JVM_ARGS variable. After that restart the ambari server.&lt;/P&gt;&lt;PRE&gt;export AMBARI_JVM_ARGS=$AMBARI_JVM_ARGS' -Xms512m -Xmx2048m -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false -Dhttp.proxyHost=proxy.sgp.hp.com -Dhttp.proxyPort=8080'
&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jun 2016 17:33:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153799#M32766</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-06-23T17:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153800#M32767</link>
      <description>&lt;P&gt;I modified the proxy setting and retried after restarting the ambari-server. This time it's throwing the following error:
&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6492i829EB7B996445E94/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="untitled.png" title="untitled.png" /&gt;</description>
      <pubDate>Thu, 23 Jun 2016 17:44:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153800#M32767</guid>
      <dc:creator>AmanMundra</dc:creator>
      <dc:date>2016-06-23T17:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153801#M32768</link>
      <description>&lt;P&gt;Please follow below posts and see if that resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/15506/error-cannot-retrieve-repository-metadata-repomdxm.html"&gt;https://community.hortonworks.com/questions/15506/error-cannot-retrieve-repository-metadata-repomdxm.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/31523/facing-error-while-upgrading-from-hdp-23-to-24-usi.html"&gt;https://community.hortonworks.com/questions/31523/facing-error-while-upgrading-from-hdp-23-to-24-usi.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 17:55:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153801#M32768</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-06-23T17:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153802#M32769</link>
      <description>&lt;P&gt;thanks a lot Jitendra, above links worked. &lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 22:49:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153802#M32769</guid>
      <dc:creator>AmanMundra</dc:creator>
      <dc:date>2016-06-23T22:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP installation fails with no more mirrors to try error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153803#M32770</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/11392/amanmundra.html" nodeid="11392"&gt;@Aman Mundra&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Glad it worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; , please accept  the answer to close this thread.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 22:55:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-HDP-installation-fails-with-no-more-mirrors-to-try/m-p/153803#M32770</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-06-23T22:55:48Z</dc:date>
    </item>
  </channel>
</rss>

