<?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: urlopen on parcels installation in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/urlopen-on-parcels-installation/m-p/37233#M18201</link>
    <description>&lt;P&gt;I tried several things but none was successful and I couldn't find an answer in the community. I feel alone...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Someone who could have an idea ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2016 11:24:20 GMT</pubDate>
    <dc:creator>asterix</dc:creator>
    <dc:date>2016-02-10T11:24:20Z</dc:date>
    <item>
      <title>urlopen on parcels installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/urlopen-on-parcels-installation/m-p/37117#M18200</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a new Cloudera user, I'm installing a small cluster of CDH-5-5.1.11 on different hosts on Cent OS 7.2.&lt;/P&gt;&lt;P&gt;In the automatic process, during parcel installation stage, I get "urlopen error timed out" on all hosts excepted the CLoudera manager server.&lt;/P&gt;&lt;P&gt;Everything has been checked (firewall is ok, files can be downloaded on the hosts directly from the internet or from the manager with direct curl). I can't find a relevant solution on the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Details below :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture d’écran 2016-02-06 à 00.09.04.png" style="width: 524px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1455i191D5BFAE87059FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2016-02-06 à 00.09.04.png" alt="Capture d’écran 2016-02-06 à 00.09.04.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- part files stay at 0 in the cache directory on the hosts&amp;nbsp;&lt;/P&gt;&lt;P&gt;- cloudera agent log file gives :&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[06/Feb/2016 00:16:04 +0000] 11288 Thread-13 downloader &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;INFO &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Starting download of: &lt;A href="http://gw.domain.com:7180/cmf/parcel/download/CDH-5.5.1-1.cdh5.5.1.p0.11-el7.parcel" target="_blank"&gt;http://gw.domain.com:7180/cmf/parcel/download/CDH-5.5.1-1.cdh5.5.1.p0.11-el7.parcel&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[06/Feb/2016 00:16:04 +0000] 11288 Thread-13 downloader &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;INFO &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;/opt/cloudera/parcel-cache/CDH-5.5.1-1.cdh5.5.1.p0.11-el7.parcel.part exists, add Range header: bytes=0-&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[06/Feb/2016 00:16:34 +0000] 11288 Thread-13 downloader &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;ERROR&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Unexpected exception during download&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "/usr/lib64/cmf/agent/src/cmf/downloader.py", line 276, in _download&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;response = self.opener.fetch_url(request)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "/usr/lib64/cmf/agent/src/cmf/downloader.py", line 69, in fetch_url&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;return urllib2.urlopen(request)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;return opener.open(url, data, timeout)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "/usr/lib64/python2.7/urllib2.py", line 431, in open&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;response = self._open(req, data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "/usr/lib64/python2.7/urllib2.py", line 449, in _open&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;'_open', req)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;result = func(*args)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "/usr/lib64/python2.7/urllib2.py", line 1244, in http_open&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;return self.do_open(httplib.HTTPConnection, req)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "/usr/lib64/python2.7/urllib2.py", line 1214, in do_open&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;raise URLError(err)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;URLError: &amp;lt;urlopen error timed out&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[06/Feb/2016 00:16:34 +0000] 11288 Thread-13 downloader &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;INFO &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Finished download [ url: &lt;A href="http://gw.domain.com:7180/cmf/parcel/download/CDH-5.5.1-1.cdh5.5.1.p0.11-el7.parcel," target="_blank"&gt;http://gw.domain.com:7180/cmf/parcel/download/CDH-5.5.1-1.cdh5.5.1.p0.11-el7.parcel,&lt;/A&gt; state: exception, total_bytes: 0, downloaded_bytes: 0, start_time: 2016-02-06 00:16:04, download_end_time: , end_time: 2016-02-06 00:16:34, code: 600, exception_msg: &amp;lt;urlopen error timed out&amp;gt;, path: None ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:02:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/urlopen-on-parcels-installation/m-p/37117#M18200</guid>
      <dc:creator>asterix</dc:creator>
      <dc:date>2022-09-16T10:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: urlopen on parcels installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/urlopen-on-parcels-installation/m-p/37233#M18201</link>
      <description>&lt;P&gt;I tried several things but none was successful and I couldn't find an answer in the community. I feel alone...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Someone who could have an idea ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 11:24:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/urlopen-on-parcels-installation/m-p/37233#M18201</guid>
      <dc:creator>asterix</dc:creator>
      <dc:date>2016-02-10T11:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: urlopen on parcels installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/urlopen-on-parcels-installation/m-p/37235#M18202</link>
      <description>&lt;P&gt;I'm not an expert but perhaps some further information may get you the help you need. What have you already tried to solve the issue that did not work for you? Also, what steps did you take during the installation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The additional information helped another user such as &lt;A href="https://community.cloudera.com/t5/Cloudera-Manager-Installation/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32480#U32480" target="_blank"&gt;this one&lt;/A&gt; who had a permissions issue.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:36:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/urlopen-on-parcels-installation/m-p/37235#M18202</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2016-02-10T13:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: urlopen on parcels installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/urlopen-on-parcels-installation/m-p/37247#M18203</link>
      <description>&lt;P&gt;Hi @cjervis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your proposal.&lt;/P&gt;&lt;P&gt;I checked&amp;nbsp;the thread you mentionned when I got the issue but it's not related to my case. I tried to restart the agent with sudo as mentionned by the author but it didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your post forced me to replay all the steps and I found the answer so I share to avoid an other beginner to find in this hole :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the hostname for the cloudera-server was initially configured as a public FQDN. After that, I changed it with an internal FQDN and all the other internal DNS stuff, but cloudera manager kept continuing to share this public IP with its agent but the firewall was blocking the trafic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this in the download field of the agent log where the public FQDN was mentioned. I just had to restart everything and now it seems to be ok.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your tip&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 15:30:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/urlopen-on-parcels-installation/m-p/37247#M18203</guid>
      <dc:creator>asterix</dc:creator>
      <dc:date>2016-02-10T15:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: urlopen on parcels installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/urlopen-on-parcels-installation/m-p/37248#M18204</link>
      <description>&lt;P&gt;Awesome! I'm happy to see you figured out the issue. Best of luck as you continue your project.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 15:32:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/urlopen-on-parcels-installation/m-p/37248#M18204</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2016-02-10T15:32:18Z</dc:date>
    </item>
  </channel>
</rss>

