Created on 01-03-2016 08:30 AM - edited 09-16-2022 02:55 AM
========================== Running setup agent script... ========================== Command start time 2016-01-03 15:48:09 http://public-repo-1.hortonworks.com/ambari/cento... [Errno 12] Timeout on http://public-repo-1.hortonworks.com/ambari/cento... (28, 'connect() timed out!') Trying other mirror. http://public-repo-1.hortonworks.com/ambari/cento... [Errno 12] Timeout on http://public-repo-1.hortonworks.com/ambari/cento... (28, 'connect() timed out!') Trying other mirror. http://public-repo-1.hortonworks.com/ambari/cento... [Errno 12] Timeout on http://public-repo-1.hortonworks.com/ambari/cento... (28, 'connect() timed out!') Trying other mirror. Error Downloading Packages: ambari-agent-2.2.0.0-1310.x86_64: failure: ambari/ambari-agent-2.2.0.0-1310.x86_64.rpm from Updates-ambari-2.2.0.0: [Errno 256] No more mirrors to try.http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.0.0/repodata/repomd.xml: [Errno 12] Timeout on http://public-repo-1.hortonworks.com/ambari/cento... (28, 'connect() timed out!') Trying other mirror. http://public-repo-1.hortonworks.com/ambari/cento... [Errno 12] Timeout on http://public-repo-1.hortonworks.com/ambari/cento... (28, 'connect() timed out!') Trying other mirror. Error Downloading Packages: ambari-agent-2.2.0.0-1310.x86_64: failure: ambari/ambari-agent-2.2.0.0-1310.x86_64.rpm from Updates-ambari-2.2.0.0: [Errno 256] No more mirrors to try.http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.0.0/repodata/repomd.xml: [Errno 12] Timeout on http://public-repo-1.hortonworks.com/ambari/cento... (28, 'connect() timed out!') Trying other mirror. http://public-repo-1.hortonworks.com/ambari/cento... [Errno 12] Timeout on http://public-repo-1.hortonworks.com/ambari/cento... (28, 'connect() timed out!') Trying other mirror. Error Downloading Packages: ambari-agent-2.2.0.0-1310.x86_64: failure: ambari/ambari-agent-2.2.0.0-1310.x86_64.rpm from Updates-ambari-2.2.0.0: [Errno 256] No more mirrors to try.but, manual wget is OK:wget http://public-repo-1.hortonworks.com/ambari/cento... --2016-01-03 15:57:28-- http://public-repo-1.hortonworks.com/ambari/cento... 正在连接 *.*.*:9999... 已连接。 已发出 Proxy 请求,正在等待回应... 200 OK 长度:2985 (2.9K) [text/xml] 正在保存至: “repomd.xml”100%[===================================================================================================================================================>] 2,985 --.-K/s in 0s 2016-01-03 15:57:28 (95.3 MB/s) - 已保存 “repomd.xml” [2985/2985])
Created 01-06-2016 03:12 AM
finally,i fix the problem caused by configuration about http_proxy ,follow next:
Created 01-03-2016 08:39 AM
It is timing out...maybe try it again after some time. I was able to download the rpm from my cluster
# wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.0.0/ambari/ambari-agent-2.2.0.0-... --2016-01-03 00:39:20-- http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.0.0/ambari/ambari-agent-2.2.0.0-... Resolving public-repo-1.hortonworks.com... 54.230.141.247, 54.230.141.15, 54.230.141.28, ... Connecting to public-repo-1.hortonworks.com|54.230.141.247|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 20125140 (19M) [application/x-rpm] Saving to: “ambari-agent-2.2.0.0-1310.x86_64.rpm” 100%[===============================================================================================================================================================>] 20,125,140 5.16M/s in 4.1s 2016-01-03 00:39:24 (4.72 MB/s) - “ambari-agent-2.2.0.0-1310.x86_64.rpm” saved [20125140/20125140]
Created 01-03-2016 08:56 AM
I also can down it well with wget .....
can i install manual with "ambari-agent-2.2.0.0-1310.x86_64.rpm" ? 2.2.0 is statable?
and more:
all base url can't validate ,like http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.0.0
so i check "Skip Repository Base URL validation (Advanced)"
Created 01-06-2016 03:12 AM
finally,i fix the problem caused by configuration about http_proxy ,follow next: