<?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: &amp;quot;urlopen timed out&amp;quot; error occurs while distributing parcels when installation CM and C in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32770#M7862</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file can be download (bin file content shows while run curl ). Actually, the firewall has&amp;nbsp;already been disabled.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Oct 2015 04:33:51 GMT</pubDate>
    <dc:creator>bigdatawilliam</dc:creator>
    <dc:date>2015-10-08T04:33:51Z</dc:date>
    <item>
      <title>"urlopen timed out" error occurs while distributing parcels when installation CM and CDH locally</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32480#M7860</link>
      <description>&lt;P&gt;I am trying to install CDH5.3.1 offline in Oracle Enterprise Linux6u5. I have downloaded the parcels from archive.cloudera.com as following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel&lt;/P&gt;&lt;P&gt;CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel.sha1 (and I rename it as CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel&lt;SPAN&gt;.sha&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;manifest.json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then I changed it owner to be cloudera-scm:cloudera-scm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After I logged in to the Cloudera Manager (version 5.4.0, which I installed by using tarball ) console, the server found&amp;nbsp;the CDH parcels and showed&lt;/P&gt;&lt;P&gt;the download status as 100%, but when it started to distribute, error occurred as " &amp;lt;urlopen timed out&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the log of agent:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[28/Sep/2015 15:15:28 +0000] 5713 Thread-13 downloader INFO Starting download of: &lt;A href="http://myhostname:7180/cmf/parcel/download/CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel" target="_blank"&gt;http://myhostname:7180/cmf/parcel/download/CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel&lt;/A&gt;&lt;BR /&gt;[28/Sep/2015 15:15:28 +0000] 5713 Thread-13 downloader INFO /opt/cloudera/parcel-cache/CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel.part exists, add Range header: bytes=0-&lt;BR /&gt;[28/Sep/2015 15:15:49 +0000] 5713 CP Server Thread-4 _cplogging INFO 10.182.xxx.xxx - - [28/Sep/2015:15:15:49] "GET /heartbeat HTTP/1.1" 200 2 "" "NING/1.0"&lt;BR /&gt;[28/Sep/2015 15:15:49 +0000] 5713 MainThread downloader INFO Aborting download request for &lt;A href="http://myhostname:7180/cmf/parcel/download/CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel" target="_blank"&gt;http://myhostname:7180/cmf/parcel/download/CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel&lt;/A&gt;&lt;BR /&gt;[28/Sep/2015 15:15:58 +0000] 5713 Thread-13 downloader ERROR Unexpected exception during download&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/opt/cloudera-manager/cm-5.4.0/lib64/cmf/agent/src/cmf/downloader.py", line 275, in _download&lt;BR /&gt;response = self.opener.fetch_url(request)&lt;BR /&gt;File "/opt/cloudera-manager/cm-5.4.0/lib64/cmf/agent/src/cmf/downloader.py", line 73, in fetch_url&lt;BR /&gt;return urllib2.urlopen(request)&lt;BR /&gt;File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen&lt;BR /&gt;return _opener.open(url, data, timeout)&lt;BR /&gt;File "/usr/lib64/python2.6/urllib2.py", line 391, in open&lt;BR /&gt;response = self._open(req, data)&lt;BR /&gt;File "/usr/lib64/python2.6/urllib2.py", line 409, in _open&lt;BR /&gt;'_open', req)&lt;BR /&gt;File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain&lt;BR /&gt;result = func(*args)&lt;BR /&gt;File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open&lt;BR /&gt;return self.do_open(httplib.HTTPConnection, req)&lt;BR /&gt;File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open&lt;BR /&gt;raise URLError(err)&lt;BR /&gt;URLError: &amp;lt;urlopen error timed out&amp;gt;&lt;BR /&gt;[28/Sep/2015 15:15:58 +0000] 5713 Thread-13 parcel_cache INFO Distribution aborted during download, skipping unpack.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the disk and memory&amp;nbsp;info:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@hostname init.d]# df -h /opt/cloudera/&lt;BR /&gt;Filesystem Size Used Avail Use% Mounted on&lt;BR /&gt;/dev/mapper/vg01-lv_root 71G 12G 56G 18% /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@&lt;SPAN&gt;hostname &lt;/SPAN&gt;parcel-repo]# free&lt;BR /&gt;total used free shared buffers cached&lt;BR /&gt;Mem: 11782728 7458676 4324052 0 188300 4491224&lt;BR /&gt;-/+ buffers/cache: 2779152 9003576&lt;BR /&gt;Swap: 8388604 0 8388604&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, what's the problem. I searched internet but did not got a solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:42:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32480#M7860</guid>
      <dc:creator>bigdatawilliam</dc:creator>
      <dc:date>2022-09-16T09:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: "urlopen timed out" error occurs while distributing parcels when installation CM and C</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32531#M7861</link>
      <description>What error do you get if you try a simple 'curl -v http://myhostname:7180/cmf/parcel/download/CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel'?&lt;BR /&gt;&lt;BR /&gt;Is this a single host installation? Do you have a firewall running that may prevent local transfers (over the external network interface)? You could try disabling the firewall temporarily.</description>
      <pubDate>Thu, 01 Oct 2015 10:45:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32531#M7861</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-10-01T10:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: "urlopen timed out" error occurs while distributing parcels when installation CM and C</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32770#M7862</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file can be download (bin file content shows while run curl ). Actually, the firewall has&amp;nbsp;already been disabled.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2015 04:33:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32770#M7862</guid>
      <dc:creator>bigdatawilliam</dc:creator>
      <dc:date>2015-10-08T04:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: "urlopen timed out" error occurs while distributing parcels when installation CM and C</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32771#M7863</link>
      <description>&lt;P&gt;Yes, it's a single host installation.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2015 04:37:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32771#M7863</guid>
      <dc:creator>bigdatawilliam</dc:creator>
      <dc:date>2015-10-08T04:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: "urlopen timed out" error occurs while distributing parcels when installation CM and C</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32824#M7864</link>
      <description>&lt;P&gt;more information, &amp;nbsp;&amp;lt;urlopen error timed out&amp;gt; while distributing&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/1192i440954C9EB53B96D/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="distribute_error.jpg" title="distribute_error.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 02:32:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32824#M7864</guid>
      <dc:creator>bigdatawilliam</dc:creator>
      <dc:date>2015-10-09T02:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: "urlopen timed out" error occurs while distributing parcels when installation CM and C</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32829#M7865</link>
      <description>&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;I found some issues while running 'curl -v http://myhostname:7180/cmf/parcel/download/CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. When I run this command by 'root' user in the same host with cloudera-manager host(myhostname), it's hanged there, nothing downloaded. But when I add sudo before curl ([root@myhostname~]#sudo curl -v http://myhostname:7180/cmf/parcel/download/CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel), the file is downloaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. When I run this command by 'oracle' user(I configured sudo permission to this user and passwordless ssh access, I also using this user to install cdh) in the same host, it's hanged there; and with sudo also works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. When I run this command by 'root' user in another host, sudo is not required. The file can be downloaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. When I run this command by 'oracle' user in another host(this 'oracle' is configured to be able to passwordless ssh access to the other 'oracle' user on cloudera-manager host), sudo is&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;required. The file can only be downloaded with sudo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I configured proxy in the above two hosts. So when I running 'curl', it first connected to proxy server successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, what's the problem could be ? Please help.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 06:16:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32829#M7865</guid>
      <dc:creator>bigdatawilliam</dc:creator>
      <dc:date>2015-10-09T06:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: "urlopen timed out" error occurs while distributing parcels when installation CM and C</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32833#M7866</link>
      <description>&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have solved this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the problem is related with permissions. And solution is the agent should be started by sudo even by user root. like:&lt;/P&gt;&lt;P&gt;# sudo ./cloudera-scm-agent start&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the distributing go smoothly.&lt;/P&gt;&lt;P&gt;Thank you for your tips of running 'curl'.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 09:00:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-urlopen-timed-out-quot-error-occurs-while-distributing/m-p/32833#M7866</guid>
      <dc:creator>bigdatawilliam</dc:creator>
      <dc:date>2015-10-09T09:00:26Z</dc:date>
    </item>
  </channel>
</rss>

