支持
admin
升级 Cloudera Manager Agent 软件包
Install Agents
所有主机上的安装均失败。
已成功完成 1 个主机中的 0 个。
安装失败后已在 1 主机上卸载。
主机名称 IP 地址 进度 状态
poem1 192.168.22.136
重试 | 详细信息 安装失败。 已卸载。
×
无法安装 cloudera-manager-agent 包。 查看 已卸载。 查看
/tmp/scm_prepare_node.BH74O2hc
using SSH_CLIENT to get the SCM hostname: 192.168.22.136 56716 22
opening logging file descriptor
正在启动安装脚本...
正在获取安装锁...
BEGIN flock 4
END (0)
正在检测根权限...
effective UID is 0
正在检测分配...
BEGIN grep Tikanga /etc/redhat-release
END (1)
BEGIN grep 'CentOS release 5' /etc/redhat-release
END (1)
BEGIN grep 'Scientific Linux release 5' /etc/redhat-release
END (1)
BEGIN grep Santiago /etc/redhat-release
END (1)
BEGIN grep 'CentOS Linux release 6' /etc/redhat-release
END (1)
BEGIN grep 'CentOS release 6' /etc/redhat-release
END (1)
BEGIN grep 'Scientific Linux release 6' /etc/redhat-release
END (1)
BEGIN grep Maipo /etc/redhat-release
END (1)
BEGIN grep 'CentOS Linux release 7' /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
END (0)
/etc/redhat-release ==> CentOS 7
正在检测 Cloudera Manager Server...
BEGIN host -t PTR 192.168.22.136
Host 136.22.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
END (1)
BEGIN which python
/usr/bin/python
END (0)
BEGIN python -c 'import socket; import sys; s = socket.socket(socket.AF_INET); s.settimeout(5.0); s.connect((sys.argv[1], int(sys.argv[2]))); s.close();' 192.168.22.136 7182
END (0)
BEGIN which wget
/usr/bin/wget
END (0)
BEGIN wget -qO- -T 1 -t 1 http://169.254.169.254/latest/meta-data/public-hostname && /bin/echo
END (4)
正在安装包存储库...
validating format of repository file /tmp/scm_prepare_node.BH74O2hc/repos/rhel7/cloudera-manager.repo
installing repository file /tmp/scm_prepare_node.BH74O2hc/repos/rhel7/cloudera-manager.repo
repository file /tmp/scm_prepare_node.BH74O2hc/repos/rhel7/cloudera-manager.repo installed
正在刷新包元数据...
BEGIN yum clean all
Loaded plugins: fastestmirror, langpacks
Cleaning repos: base cloudera-manager extras updates
Cleaning up everything
Cleaning up list of fastest mirrors
END (0)
BEGIN rm -Rf /var/cache/yum/x86_64
END (0)
BEGIN yum makecache
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Metadata Cache Created
END (0)
正在安装 cloudera-manager-agent 包...
BEGIN yum list installed cloudera-manager-agent
Loaded plugins: fastestmirror, langpacks
Error: No matching Packages to list
END (1)
BEGIN yum info cloudera-manager-agent
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Available Packages
Name : cloudera-manager-agent
Arch : x86_64
Version : 5.14.1
Release : 1.cm5141.p0.1.el7
Size : 9.4 M
Repo : cloudera-manager
Summary : The Cloudera Manager Agent
URL : http://www.cloudera.com
License : Proprietary
Description : The Cloudera Manager Agent.
:
: The Agent is deployed to machines running services managed by
: Cloudera Manager.
END (0)
Version : 5.14.1
Release : 1.cm5141.p0.1.el7
BEGIN yum -y install cloudera-manager-agent
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Resolving Dependencies
--> Running transaction check
---> Package cloudera-manager-agent.x86_64 0:5.14.1-1.cm5141.p0.1.el7 will be installed
--> Processing Dependency: cloudera-manager-daemons = 5.14.1 for package: cloudera-manager-agent-5.14.1-1.cm5141.p0.1.el7.x86_64
--> Processing Dependency: mod_ssl for package: cloudera-manager-agent-5.14.1-1.cm5141.p0.1.el7.x86_64
--> Processing Dependency: httpd for package: cloudera-manager-agent-5.14.1-1.cm5141.p0.1.el7.x86_64
--> Processing Dependency: MySQL-python for package: cloudera-manager-agent-5.14.1-1.cm5141.p0.1.el7.x86_64
--> Processing Dependency: python-psycopg2 for package: cloudera-manager-agent-5.14.1-1.cm5141.p0.1.el7.x86_64
--> Processing Dependency: openssl-devel for package: cloudera-manager-agent-5.14.1-1.cm5141.p0.1.el7.x86_64
--> Processing Dependency: /lib/lsb/init-functions for package: cloudera-manager-agent-5.14.1-1.cm5141.p0.1.el7.x86_64
--> Running transaction check
---> Package MySQL-python.x86_64 0:1.2.5-1.el7 will be installed
---> Package cloudera-manager-daemons.x86_64 0:5.14.1-1.cm5141.p0.1.el7 will be installed
---> Package httpd.x86_64 0:2.4.6-90.el7.centos will be installed
--> Processing Dependency: httpd-tools = 2.4.6-90.el7.centos for package: httpd-2.4.6-90.el7.centos.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-90.el7.centos.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-90.el7.centos.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-90.el7.centos.x86_64
---> Package mod_ssl.x86_64 1:2.4.6-90.el7.centos will be installed
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: 1:mod_ssl-2.4.6-90.el7.centos.x86_64
---> Package openssl-devel.x86_64 1:1.0.2k-19.el7 will be installed
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.2k-19.el7.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-19.el7.x86_64
---> Package python-psycopg2.x86_64 0:2.5.1-4.el7 will be installed
--> Processing Dependency: libpq.so.5()(64bit) for package: python-psycopg2-2.5.1-4.el7.x86_64
---> Package redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1 will be installed
--> Processing Dependency: redhat-lsb-submod-security(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: spax for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/m4 for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-5.el7 will be installed
---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
---> Package httpd-tools.x86_64 0:2.4.6-90.el7.centos will be installed
---> Package krb5-devel.x86_64 0:1.15.1-37.el7_7.2 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-37.el7_7.2 for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
--> Processing Dependency: krb5-libs(x86-64) = 1.15.1-37.el7_7.2 for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
--> Processing Dependency: libkdb5.so.8()(64bit) for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
---> Package m4.x86_64 0:1.4.16-10.el7 will be installed
---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
---> Package openssl-libs.x86_64 1:1.0.1e-42.el7 will be updated
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.1e-42.el7 for package: 1:openssl-1.0.1e-42.el7.x86_64
---> Package openssl-libs.x86_64 1:1.0.2k-19.el7 will be an update
---> Package postgresql-libs.x86_64 0:9.2.24-2.el7_7 will be installed
---> Package redhat-lsb-submod-security.x86_64 0:4.1-27.el7.centos.1 will be installed
---> Package spax.x86_64 0:1.5.2-13.el7 will be installed
---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be installed
--> Processing Dependency: zlib = 1.2.7-18.el7 for package: zlib-devel-1.2.7-18.el7.x86_64
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package krb5-libs.x86_64 0:1.12.2-14.el7 will be updated
--> Processing Dependency: krb5-libs(x86-64) = 1.12.2-14.el7 for package: krb5-workstation-1.12.2-14.el7.x86_64
--> Processing Dependency: libkadm5clnt_mit.so.8()(64bit) for package: krb5-workstation-1.12.2-14.el7.x86_64
--> Processing Dependency: libkadm5clnt_mit.so.8(kadm5clnt_mit_8_MIT)(64bit) for package: krb5-workstation-1.12.2-14.el7.x86_64
--> Processing Dependency: libkadm5srv_mit.so.9()(64bit) for package: krb5-workstation-1.12.2-14.el7.x86_64
--> Processing Dependency: libkadm5srv_mit.so.9(kadm5srv_mit_9_MIT)(64bit) for package: krb5-workstation-1.12.2-14.el7.x86_64
--> Processing Dependency: libkdb5.so.7()(64bit) for package: krb5-workstation-1.12.2-14.el7.x86_64
--> Processing Dependency: libkdb5.so.7(kdb5_7_MIT)(64bit) for package: krb5-workstation-1.12.2-14.el7.x86_64
---> Package krb5-libs.x86_64 0:1.15.1-37.el7_7.2 will be an update
---> Package libcom_err-devel.x86_64 0:1.42.9-16.el7 will be installed
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-16.el7 for package: libcom_err-devel-1.42.9-16.el7.x86_64
---> Package libkadm5.x86_64 0:1.15.1-37.el7_7.2 will be installed
---> Package libselinux-devel.x86_64 0:2.5-14.1.el7 will be installed
--> Processing Dependency: libsepol-devel(x86-64) >= 2.5-10 for package: libselinux-devel-2.5-14.1.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-14.1.el7.x86_64
--> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.5-14.1.el7.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
---> Package openssl.x86_64 1:1.0.1e-42.el7 will be updated
---> Package openssl.x86_64 1:1.0.2k-19.el7 will be an update
---> Package zlib.x86_64 0:1.2.7-13.el7 will be updated
---> Package zlib.x86_64 0:1.2.7-18.el7 will be an update
--> Running transaction check
---> Package krb5-workstation.x86_64 0:1.12.2-14.el7 will be updated
---> Package krb5-workstation.x86_64 0:1.15.1-37.el7_7.2 will be an update
---> Package libcom_err.x86_64 0:1.42.9-7.el7 will be updated
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-7.el7 for package: e2fsprogs-libs-1.42.9-7.el7.x86_64
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-7.el7 for package: e2fsprogs-1.42.9-7.el7.x86_64
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-7.el7 for package: libss-1.42.9-7.el7.x86_64
---> Package libcom_err.x86_64 0:1.42.9-16.el7 will be an update
---> Package libsepol-devel.x86_64 0:2.5-10.el7 will be installed
---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed
--> Processing Dependency: pcre(x86-64) = 8.32-17.el7 for package: pcre-devel-8.32-17.el7.x86_64
--> Running transaction check
---> Package e2fsprogs.x86_64 0:1.42.9-7.el7 will be updated
---> Package e2fsprogs.x86_64 0:1.42.9-16.el7 will be an update
---> Package e2fsprogs-libs.x86_64 0:1.42.9-7.el7 will be updated
---> Package e2fsprogs-libs.x86_64 0:1.42.9-16.el7 will be an update
---> Package libss.x86_64 0:1.42.9-7.el7 will be updated
---> Package libss.x86_64 0:1.42.9-16.el7 will be an update
---> Package pcre.x86_64 0:8.32-14.el7 will be updated
---> Package pcre.x86_64 0:8.32-17.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
cloudera-manager-agent x86_64 5.14.1-1.cm5141.p0.1.el7 cloudera-manager 9.4 M
Installing for dependencies:
MySQL-python x86_64 1.2.5-1.el7 base 90 k
apr x86_64 1.4.8-5.el7 base 103 k
apr-util x86_64 1.5.2-6.el7 base 92 k
cloudera-manager-daemons
x86_64 5.14.1-1.cm5141.p0.1.el7 cloudera-manager 700 M
httpd x86_64 2.4.6-90.el7.centos base 2.7 M
httpd-tools x86_64 2.4.6-90.el7.centos base 91 k
keyutils-libs-devel x86_64 1.5.8-3.el7 base 37 k
krb5-devel x86_64 1.15.1-37.el7_7.2 updates 272 k
libcom_err-devel x86_64 1.42.9-16.el7 base 32 k
libkadm5 x86_64 1.15.1-37.el7_7.2 updates 178 k
libselinux-devel x86_64 2.5-14.1.el7 base 187 k
libsepol-devel x86_64 2.5-10.el7 base 77 k
libverto-devel x86_64 0.2.5-4.el7 base 12 k
m4 x86_64 1.4.16-10.el7 base 256 k
mailcap noarch 2.1.41-2.el7 base 31 k
mod_ssl x86_64 1:2.4.6-90.el7.centos base 112 k
openssl-devel x86_64 1:1.0.2k-19.el7 base 1.5 M
pcre-devel x86_64 8.32-17.el7 base 480 k
postgresql-libs x86_64 9.2.24-2.el7_7 updates 234 k
python-psycopg2 x86_64 2.5.1-4.el7 base 132 k
redhat-lsb-core x86_64 4.1-27.el7.centos.1 base 38 k
redhat-lsb-submod-security
x86_64 4.1-27.el7.centos.1 base 15 k
spax x86_64 1.5.2-13.el7 base 260 k
zlib-devel x86_64 1.2.7-18.el7 base 50 k
Updating for dependencies:
e2fsprogs x86_64 1.42.9-16.el7 base 700 k
e2fsprogs-libs x86_64 1.42.9-16.el7 base 167 k
krb5-libs x86_64 1.15.1-37.el7_7.2 updates 805 k
krb5-workstation x86_64 1.15.1-37.el7_7.2 updates 816 k
libcom_err x86_64 1.42.9-16.el7 base 41 k
libss x86_64 1.42.9-16.el7 base 46 k
openssl x86_64 1:1.0.2k-19.el7 base 493 k
openssl-libs x86_64 1:1.0.2k-19.el7 base 1.2 M
pcre x86_64 8.32-17.el7 base 422 k
zlib x86_64 1.2.7-18.el7 base 90 k
Transaction Summary
================================================================================
Install 1 Package (+24 Dependent packages)
Upgrade ( 10 Dependent packages)
Total download size: 721 M
Downloading packages:
No Presto metadata available for base
No Presto metadata available for updates
https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.14.1/RPMS/x86_64/cloudera-manager-daemons-5.14.1-1.cm5141.p0.1.el7.x86_64.rpm: [Errno 14] curl#18 - "transfer closed with 733579553 bytes remaining to read"
Trying other mirror.
warning: /var/cache/yum/x86_64/7/cloudera-manager/packages/cloudera-manager-agent-5.14.1-1.cm5141.p0.1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID e8f86acd: NOKEY
Public key for cloudera-manager-agent-5.14.1-1.cm5141.p0.1.el7.x86_64.rpm is not installed
Error downloading packages:
cloudera-manager-daemons-5.14.1-1.cm5141.p0.1.el7.x86_64: [Errno 256] No more mirrors to try.
END (1)
remote package cloudera-manager-agent could not be installed, giving up
waiting for rollback request
detected rollback request
rolling back installation
正在还原更改...
rollback started
正在删除包存储库...
repository file /etc/yum.repos.d/cloudera-manager.repo restored
正在清除数据包管理器缓存...
BEGIN yum clean all
Loaded plugins: fastestmirror, langpacks
Cleaning repos: base cloudera-manager extras updates
Cleaning up everything
Cleaning up list of fastest mirrors
END (0)
BEGIN rm -Rf /var/cache/yum/x86_64
END (0)
已卸载。
rollback completed
closing logging file descriptor
1 2 3 4 5 6
# yum -y install psmisc MySQL-python at bc bind-libs bind-utils cups-client cups-libs cyrus-sasl-gssapi cyrus-sasl-plain ed fuse fuse-libs httpd httpd-tools keyutils-libs-devel krb5-devel libcom_err-devel libselinux-devel libsepol-devel libverto-devel mailcap noarch mailx mod_ssl openssl-devel pcre-devel postgresql-libs python-psycopg2 redhat-lsb-core redhat-lsb-submod-security x86_64 spax time zlib-devel
# chmod +x /etc/rc.d/rc.local
# echo "echo 0 > /proc/sys/vm/swappiness" >>/etc/rc.d/rc.local
# echo "echo never > /sys/kernel/mm/transparent_hugepage/defrag" >>/etc/rc.d/rc.local
# echo 0 > /proc/sys/vm/swappiness
# echo never > /sys/kernel/mm/transparent_hugepage/defrag
# yum -y install rpcbind
# systemctl start rpcbind
# echo "systemctl start rpcbind" >> /etc/rc.d/rc.local