Linux中出现archive.cloudera.com报错怎么办-创新互联-成都快上网建站

Linux中出现archive.cloudera.com报错怎么办-创新互联

这篇文章主要介绍“Linux中出现archive.cloudera.com报错怎么办”,在日常操作中,相信很多人在Linux中出现archive.cloudera.com报错怎么办问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Linux中出现archive.cloudera.com报错怎么办”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

创新互联建站长期为上千余家客户提供的网站建设服务,团队从业经验10年,关注不同地域、不同群体,并针对不同对象提供差异化的产品和服务;打造开放共赢平台,与合作伙伴共同营造健康的互联网生态环境。为寿阳企业提供专业的网站建设、成都网站制作寿阳网站改版等技术服务。拥有十多年丰富建站经验和众多成功案例,为您定制开发。

一.错误

[root@hadoop002 ~]# wget -c /tupian/20230522/cloudera-manager-centos7-cm5.16.2_x86_64.tar.gz
--2019-07-23 16:59:08--  /tupian/20230522/cloudera-manager-centos7-cm5.16.2_x86_64.tar.gz
Resolving archive.cloudera.com... failed: Temporary failure in name resolution.
wget: unable to resolve host address “archive.cloudera.com”

二.修改网卡,添加DNS

[root@hadoop002 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=172.31.236.240
NETMASK=255.255.240.0
#百度DNS服务器
DNS1=180.76.76.76
#阿里云DNS服务器
DNS2=223.5.5.5

三.重启网络生效  切记

[root@hadoop002 ~]# service network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  Determining if ip address 172.31.236.240 is already in use for device eth0...
RTNETLINK answers: File exists
                                                           [  OK  ]
[root@hadoop002 ~]# ping archive.cloudera.com
PING prod.cloudera.map.fastly.net (151.101.76.167) 56(84) bytes of data.
64 bytes from 151.101.76.167: icmp_seq=1 ttl=59 time=0.719 ms
64 bytes from 151.101.76.167: icmp_seq=2 ttl=59 time=0.754 ms
^Z
[3]+  Stopped                 ping archive.cloudera.com
[root@hadoop002 ~]#

四.下载

[root@hadoop002 ~]# wget -c /tupian/20230522/cloudera-manager-centos7-cm5.16.2_x86_64.tar.gz
--2019-07-23 17:00:29--  /tupian/20230522/cloudera-manager-centos7-cm5.16.2_x86_64.tar.gz
Resolving archive.cloudera.com... 151.101.76.167
Connecting to archive.cloudera.com|151.101.76.167|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 837950600 (799M) [binary/octet-stream]
Saving to: “cloudera-manager-centos7-cm5.16.2_x86_64.tar.gz”
100%[=============================================================================>] 837,950,600 12.3M/s   in 65s     
2019-07-23 17:01:34 (12.4 MB/s) - “cloudera-manager-centos7-cm5.16.2_x86_64.tar.gz” saved [837950600/837950600]
[root@hadoop002 ~]# wget -c https://archive.cloudera.com/cdh6/parcels/latest/CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel
--2019-07-23 17:01:58--  https://archive.cloudera.com/cdh6/parcels/latest/CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel
Resolving archive.cloudera.com... 151.101.76.167
Connecting to archive.cloudera.com|151.101.76.167|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2132782197 (2.0G) [binary/octet-stream]
Saving to: “CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel”
100%[===========================================================================>] 2,132,782,197 12.8M/s   in 2m 46s  
2019-07-23 17:04:44 (12.3 MB/s) - “CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel” saved [2132782197/2132782197]
[root@hadoop002 ~]# wget -c https://archive.cloudera.com/cdh6/parcels/latest/CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel.sha1
--2019-07-23 17:04:56--  https://archive.cloudera.com/cdh6/parcels/latest/CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel.sha1
Resolving archive.cloudera.com... 151.101.76.167
Connecting to archive.cloudera.com|151.101.76.167|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 41 [text/plain]
Saving to: “CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel.sha1”
100%[=============================================================================>] 41          --.-K/s   in 0s      
2019-07-23 17:04:56 (3.57 MB/s) - “CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel.sha1” saved [41/41]
[root@hadoop002 ~]# wget -c https://archive.cloudera.com/cdh6/parcels/latest/manifest.json
--2019-07-23 17:05:09--  https://archive.cloudera.com/cdh6/parcels/latest/manifest.json
Resolving archive.cloudera.com... 151.101.76.167
Connecting to archive.cloudera.com|151.101.76.167|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 66804 (65K) [application/json]
Saving to: “manifest.json”
100%[=============================================================================>] 66,804      --.-K/s   in 0.001s  
2019-07-23 17:05:09 (44.2 MB/s) - “manifest.json” saved [66804/66804]

到此,关于“Linux中出现archive.cloudera.com报错怎么办”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注创新互联-成都网站建设公司网站,小编会继续努力为大家带来更多实用的文章!


本文名称:Linux中出现archive.cloudera.com报错怎么办-创新互联
当前链接:http://kswjz.com/article/dccsei.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流