Member since
01-03-2016
3
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1708 | 01-06-2016 03:12 AM |
01-06-2016
03:12 AM
finally,i fix the problem caused by configuration about http_proxy ,follow next:
On the Ambari Server, edit /var/lib/ambari-server/ambari-env.sh. Add "-Dhttp.proxyHost=myproxyhost -Dhttp.proxyPort=1234" to the AMBARI_JVM_ARGS. Restart the Ambari Server to pick up this change.
... View more
01-03-2016
08:56 AM
wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.0.0/ambari/ambari-agent-2.2.0.0-1310.x86_64.rpm 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)"
... View more
01-03-2016
08:30 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])
... View more
Labels:
- Labels:
-
Apache Ambari