Cloudera Manager5安装问题记录

在安装CM5 时总是提示下面这个错误,后来查了半天以为是yum工具的错误。

Loaded plugins: fastestmirror, security

Loading mirror speeds from cached hostfile
http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 54.182.3.187: Network is unreachable"
Trying other mirror.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: cloudera-manager. Please verify its path and try again

后来在原来已经装过的机器上查找原因,发现是cloudera-manager.repo 这个文件的位置不对,需要放到/etc/yum.repos.d/下面。

里面的配置为:

[cloudera-manager]
# Packages for Cloudera Manager, Version 5, on RedHat or CentOS 6 x86_64            
name=Cloudera Manager
baseurl=http://10.4.22.15/cloudera-manager/
gpgkey = http://10.4.22.15/cloudera-manager/RPM-GPG-KEY-cloudera    
gpgcheck = 1

其中http://10.4.22.15/cloudera-manager/是之前安装的Apache服务器。

你可能感兴趣的:(hadoop)