Cloudera Hadoop-基于yum安装包部署Cloudera Manager(离线部署)

      Cloudera Hadoop-基于yum安装包部署Cloudera Manager(离线部署)

                                          作者:尹正杰

版权声明:原创作品,谢绝转载!否则将追究法律责任。

 

一.数据库授权

1>.安装数据库

  我们在“大数据集群系统环境配置”章节中介绍了关于MySQL 5.7主从复制。由于元数据库还是比较重要的,在生成环境使用时,我用的是主从复制机制。

  你也可以使用Keepalive + MySQL部署一个主-主双活的数据库,以提升其可用性。具体做法网上有大量的例子,大家注意搜索5.7版本的做法即可,以免配置项有出入。

2>.配置授权用户(创建所需的表和账号)

  创建scm,rman,hive,oozie,hue,sentry等这6套库和授权用户(其实根据官方提示,需要创建的库可不止这些哟,但我们实验环境使用这几个库就够用了),分别用户Cloudera Manager,Reports Manager,hive,oozie,hue,sentry存储数据。

  官方说需要创建的数据库有:https://www.cloudera.com/documentation/enterprise/5-16-x/topics/cm_ig_installing_configuring_dbs.html#cmig_topic_5_1
[root@node106.yinzhengjie.org.cn ~]# mysql -uroot -pyinzhengjie
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.7.25-log MySQL Community Server (GPL)

Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> 
mysql> CREATE DATABASE scm DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;              #创建scm数据库并制定字符集为uft8mb4,排序规则为utf8mb4_unicode_ci,这里的ci表示字母不区分大小写。
Query OK, 1 row affected (0.00 sec)

mysql> 
mysql> CREATE USER scm@'172.30.1.10%' IDENTIFIED WITH mysql_native_password BY 'yinzhengjie';         #创建'scm'@'172.30.1.10%'用户,指定加密类型为:"mysql_notive_password"(MySQ5.7可以不指定加密类型,因为这是默认的,而Mysql 8.0及以上版本就机密类型变更为:"caching_sha2_password",因此建议大家养成习惯,指定加密类型),并制定密码为"yinzhengjie" 
Query OK, 0 rows affected (0.00 sec)

mysql> 
mysql> GRANT ALL PRIVILEGES ON scm.* TO scm@'172.30.1.10%';                             #将scm数据库下的表的所有权限授权给咱们创建的'scm'@'172.30.1.10%'用户。
Query OK, 0 rows affected (0.01 sec)

mysql>
mysql> CREATE DATABASE rman DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
Query OK, 1 row affected (0.01 sec)

mysql> 
mysql> CREATE USER rman@'172.30.1.10%' IDENTIFIED WITH mysql_native_password BY 'yinzhengjie';
Query OK, 0 rows affected (0.00 sec)

mysql> 
mysql> GRANT ALL PRIVILEGES ON rman.* TO rman@'172.30.1.10%';
Query OK, 0 rows affected (0.00 sec)

mysql> 
创建Reports Manager所需要的库和授权用户
mysql> CREATE DATABASE hive DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
Query OK, 1 row affected (0.00 sec)

mysql> 
mysql> CREATE USER hive@'172.30.1.10%' IDENTIFIED WITH mysql_native_password BY 'yinzhengjie';
Query OK, 0 rows affected (0.00 sec)

mysql> 
mysql> GRANT ALL PRIVILEGES ON hive.* TO hive@'172.30.1.10%';
Query OK, 0 rows affected (0.00 sec)

mysql> 
mysql> 
创建hive所需要的库和授权用户
mysql> CREATE DATABASE oozie DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
Query OK, 1 row affected (0.00 sec)

mysql> 
mysql> CREATE USER oozie@'172.30.1.10%' IDENTIFIED WITH mysql_native_password BY 'yinzhengjie';
Query OK, 0 rows affected (0.00 sec)

mysql> 
mysql> GRANT ALL PRIVILEGES ON oozie.* TO oozie@'172.30.1.10%';
Query OK, 0 rows affected (0.01 sec)

mysql> 

 
创建oozie所需要的库和授权用户
mysql> CREATE DATABASE hue DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
Query OK, 1 row affected (0.00 sec)

mysql> 
mysql> CREATE USER hue@'172.30.1.10%' IDENTIFIED WITH mysql_native_password BY 'yinzhengjie';
Query OK, 0 rows affected (0.00 sec)

mysql> 
mysql> GRANT ALL PRIVILEGES ON hue.* TO hue@'172.30.1.10%';
Query OK, 0 rows affected (0.00 sec)

mysql> 
mysql> 
创建hue所需要的库和授权用户
mysql> CREATE DATABASE sentry DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
Query OK, 1 row affected (0.00 sec)

mysql> 
mysql> CREATE USER sentry@'172.30.1.10%' IDENTIFIED WITH mysql_native_password BY 'yinzhengjie';
Query OK, 0 rows affected (0.00 sec)

mysql> 
mysql> GRANT ALL PRIVILEGES ON sentry.* TO sentry@'172.30.1.10%';
Query OK, 0 rows affected (0.00 sec)

mysql> 
创建sentry所需要的库和授权用户
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)

mysql> 
mysql> SELECT user,host,plugin FROM mysql.user;
+---------------+--------------+-----------------------+
| user          | host         | plugin                |
+---------------+--------------+-----------------------+
| root          | localhost    | mysql_native_password |
| mysql.session | localhost    | mysql_native_password |
| mysql.sys     | localhost    | mysql_native_password |
| copy          | 172.30.1.10% | mysql_native_password |
| rman          | 172.30.1.10% | mysql_native_password |
| scm           | 172.30.1.10% | mysql_native_password |
| hive          | 172.30.1.10% | mysql_native_password |
| oozie         | 172.30.1.10% | mysql_native_password |
| hue           | 172.30.1.10% | mysql_native_password |
| sentry        | 172.30.1.10% | mysql_native_password |
+---------------+--------------+-----------------------+
rows in set (0.00 sec)

mysql>
[root@node107.yinzhengjie.org.cn ~]# mysql -u rman -pyinzhengjie -h node106.yinzhengjie.org.cn
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.7.25-log MySQL Community Server (GPL)

Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show datbases;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'datbases' at line 1
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| rman               |
+--------------------+
rows in set (0.01 sec)

mysql> quit
Bye
[root@node107.yinzhengjie.org.cn ~]# 
[root@node107.yinzhengjie.org.cn ~]# mysql -u rman -pyinzhengjie -h node106.yinzhengjie.org.cn      #随机测试上面创建的用户是否可以正常登陆
[root@node107.yinzhengjie.org.cn ~]# mysql -uroot -pyinzhengjie
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.7.25-log MySQL Community Server (GPL)

Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| hive               |
| hue                |
| mysql              |
| oozie              |
| performance_schema |
| rman               |
| scm                |
| sentry             |
| sys                |
+--------------------+
rows in set (0.00 sec)

mysql> quit
Bye
[root@node107.yinzhengjie.org.cn ~]# 
[root@node107.yinzhengjie.org.cn ~]# 
[root@node107.yinzhengjie.org.cn ~]# mysql -uroot -pyinzhengjie                        #查看从库数据同步情况,发现从库中和主库一样多出来我们创建的数据库啦~
MYSQL中的COLLATE是什么?
    博主推荐阅读:https://juejin.im/post/5bfe5cc36fb9a04a082161c2?tdsourcetag=s_pcqq_aiomsg
MYSQL中的COLLATE是什么?

 

二.自建内网镜像安装地址

1>.安装web服务器并启动

[root@node107.yinzhengjie.org.cn ~]# yum -y install httpd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.tuna.tsinghua.edu.cn
 * extras: mirror.bit.edu.cn
 * updates: mirror.bit.edu.cn
base                                                                                                                                                                                           | 3.6 kB  00:00:00     
extras                                                                                                                                                                                         | 3.4 kB  00:00:00     
updates                                                                                                                                                                                        | 3.4 kB  00:00:00     
updates/7/x86_64/primary_db                                                                                                                                                                    | 5.7 MB  00:00:02     
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-89.el7.centos will be installed
--> Processing Dependency: httpd-tools = 2.4.6-89.el7.centos for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-3.el7_4.1 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-89.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================================================================
 Package                                             Arch                                           Version                                                     Repository                                       Size
======================================================================================================================================================================================================================
Installing:
 httpd                                               x86_64                                         2.4.6-89.el7.centos                                         updates                                         2.7 M
Installing for dependencies:
 apr                                                 x86_64                                         1.4.8-3.el7_4.1                                             base                                            103 k
 apr-util                                            x86_64                                         1.5.2-6.el7                                                 base                                             92 k
 httpd-tools                                         x86_64                                         2.4.6-89.el7.centos                                         updates                                          90 k

Transaction Summary
======================================================================================================================================================================================================================
Install  1 Package (+3 Dependent packages)

Total download size: 3.0 M
Installed size: 9.9 M
Downloading packages:
(1/4): apr-util-1.5.2-6.el7.x86_64.rpm                                                                                                                                                         |  92 kB  00:00:00     
(2/4): apr-1.4.8-3.el7_4.1.x86_64.rpm                                                                                                                                                          | 103 kB  00:00:00     
(3/4): httpd-tools-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                              |  90 kB  00:00:00     
(4/4): httpd-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                                    | 2.7 MB  00:00:01     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                 2.0 MB/s | 3.0 MB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                         1/4 
  Installing : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                        2/4 
  Installing : httpd-tools-2.4.6-89.el7.centos.x86_64                                                                                                                                                             3/4 
  Installing : httpd-2.4.6-89.el7.centos.x86_64                                                                                                                                                                   4/4 
  Verifying  : httpd-tools-2.4.6-89.el7.centos.x86_64                                                                                                                                                             1/4 
  Verifying  : httpd-2.4.6-89.el7.centos.x86_64                                                                                                                                                                   2/4 
  Verifying  : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                         3/4 
  Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                        4/4 

Installed:
  httpd.x86_64 0:2.4.6-89.el7.centos                                                                                                                                                                                  

Dependency Installed:
  apr.x86_64 0:1.4.8-3.el7_4.1                                      apr-util.x86_64 0:1.5.2-6.el7                                      httpd-tools.x86_64 0:2.4.6-89.el7.centos                                     

Complete!
You have mail in /var/spool/mail/root
[root@node107.yinzhengjie.org.cn ~]# 
[root@node107.yinzhengjie.org.cn ~]# yum -y install httpd            #安装HTTP服务
[root@node107.yinzhengjie.org.cn ~]# cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.`date +%F` 
[root@node107.yinzhengjie.org.cn ~]# 
[root@node107.yinzhengjie.org.cn ~]# grep ".tgz" /etc/httpd/conf/httpd.conf | grep -v '    #'
    AddType application/x-gzip .gz .tgz
[root@node107.yinzhengjie.org.cn ~]# 
[root@node107.yinzhengjie.org.cn ~]# sed -i s'#.tgz#.tgz .parcel#' /etc/httpd/conf/httpd.conf
[root@node107.yinzhengjie.org.cn ~]# 
[root@node107.yinzhengjie.org.cn ~]# grep ".tgz" /etc/httpd/conf/httpd.conf | grep -v '    #'
    AddType application/x-gzip .gz .tgz .parcel                  #其实我就是在.tgz后面加了一个“.parcel”的后缀,这是CM官方强调要做的一个操作!
[root@node107.yinzhengjie.org.cn ~]#
[root@node107.yinzhengjie.org.cn ~]# systemctl start httpd 
[root@node107.yinzhengjie.org.cn ~]# 
[root@node107.yinzhengjie.org.cn ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2019-06-11 12:03:46 CST; 9s ago
     Docs: man:httpd(8)
           man:apachectl(8)
 Main PID: 20098 (httpd)
   Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
   CGroup: /system.slice/httpd.service
           ├─20098 /usr/sbin/httpd -DFOREGROUND
           ├─20099 /usr/sbin/httpd -DFOREGROUND
           ├─20100 /usr/sbin/httpd -DFOREGROUND
           ├─20101 /usr/sbin/httpd -DFOREGROUND
           ├─20102 /usr/sbin/httpd -DFOREGROUND
           └─20103 /usr/sbin/httpd -DFOREGROUND

Jun 11 12:03:46 node107.yinzhengjie.org.cn systemd[1]: Starting The Apache HTTP Server...
Jun 11 12:03:46 node107.yinzhengjie.org.cn systemd[1]: Started The Apache HTTP Server.
[root@node107.yinzhengjie.org.cn ~]# 
[root@node107.yinzhengjie.org.cn ~]# 
[root@node107.yinzhengjie.org.cn ~]# systemctl enable httpd
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
You have mail in /var/spool/mail/root
[root@node107.yinzhengjie.org.cn ~]# 
[root@node107.yinzhengjie.org.cn ~]# systemctl start httpd           #启动HTTP服务

2>.下载Cloudera Manager对应的版本到自建的web服务器路径中(https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.16.1/RPMS/x86_64/)

[root@node107.yinzhengjie.org.cn ~]# mkdir /var/www/html/cm-5.16.1 && cd /var/www/html/cm-5.16.1       #创建CM安装包存放目录   
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# rz                         #去官方网站把你需要的rpm包都下载并上传到CM目录

You have mail in /var/spool/mail/root
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# ll
total 986148
-rw-r--r-- 1 root root   9864584 Jun 11 12:50 cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root 789872988 Jun 11  2019 cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root      8704 Jun 11 12:35 cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root     10612 Jun 11 12:35 cloudera-manager-server-db-2-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root  30604172 Jun 11 12:56 enterprise-debuginfo-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root 179439263 Jun 11  2019 jdk-8u211-linux-x64.rpm
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]#

3>.下载校验文件

[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# yum -y install wget
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.tuna.tsinghua.edu.cn
 * extras: mirror.bit.edu.cn
 * updates: mirror.bit.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package wget.x86_64 0:1.14-18.el7_6.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================================================================
 Package                                        Arch                                             Version                                                      Repository                                         Size
======================================================================================================================================================================================================================
Installing:
 wget                                           x86_64                                           1.14-18.el7_6.1                                              updates                                           547 k

Transaction Summary
======================================================================================================================================================================================================================
Install  1 Package

Total download size: 547 k
Installed size: 2.0 M
Downloading packages:
wget-1.14-18.el7_6.1.x86_64.rpm                                                                                                                                                                | 547 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : wget-1.14-18.el7_6.1.x86_64                                                                                                                                                                        1/1 
  Verifying  : wget-1.14-18.el7_6.1.x86_64                                                                                                                                                                        1/1 

Installed:
  wget.x86_64 0:1.14-18.el7_6.1                                                                                                                                                                                       

Complete!
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# yum -y install wget      #安装下载工具
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# wget https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/RPM-GPG-KEY-cloudera
--2019-06-11 14:23:36--  https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/RPM-GPG-KEY-cloudera
Resolving archive.cloudera.com (archive.cloudera.com)... 151.101.228.167
Connecting to archive.cloudera.com (archive.cloudera.com)|151.101.228.167|:443... connected.
HTTP request sent, awaiting response... 
OK
Length: 1690 (1.7K) [binary/octet-stream]
Saving to: ‘RPM-GPG-KEY-cloudera’

100%[============================================================================================================================================================================>] 1,690       --.-K/s   in 0s      

2019-06-11 14:23:42 (99.6 MB/s) - ‘RPM-GPG-KEY-cloudera’ saved [1690/1690]

[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# wget https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/RPM-GPG-KEY-cloudera      #下载官方的RPM校验文件
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# ll
total 986152
-rw-r--r-- 1 root root   9864584 Jun 11 12:50 cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root 789872988 Jun 11  2019 cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root      8704 Jun 11 12:35 cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root     10612 Jun 11 12:35 cloudera-manager-server-db-2-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root  30604172 Jun 11 12:56 enterprise-debuginfo-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root 179439263 Jun 11  2019 jdk-8u211-linux-x64.rpm
-rw-r--r-- 1 root root      1690 Feb 21  2018 RPM-GPG-KEY-cloudera        #这个校验文件我们在安装服务时他会自动来找该文件进行校验,我们直接把官网的文件download下来即可
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]#
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# cat RPM-GPG-KEY-cloudera 
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.5 (GNU/Linux)

mQGiBEpBgEURBAC+CL1a6BfVEoKAX1KcOHqq9Z10WdPGOgTM+AtnOVPJdJvIZcDk
YGUmycpaGxY3+xX1x8ZvxNb7WXiei8FMPm4sR/xQC/CF2iS5399tjLJqcDEjdqTV
/whQ4Rrg1JLGaHUjR0YmrOteT71xikEwlCalToxQuhBz7Nz4aBeDDPf9lwCgvG+x
CaOxict+He03g4HNSTZ0T0UEAIxKITpCA6ZvUPoEGhpn+Gt+wJK/ScB0FKCfW8Au
QQZP6tgxDEg0baasT8MxuXXE2+opaaWPTVa64ws7OvbyH5z1xhBOx4qRVBx8bZsF
YQUk/1PBvg6yA4Rmaqi7nTToHatP69/JMLfTyH8sXETMQ8z5T0LAD6a5ELAYBqql
bJWRA/4lkbaGIwkyLcOAop/g0SCERHt66ML1pwdjxvzE2rRKFUbjUbRZsHTqVq5E
BgpcTIeTuRy02yQ+Bh+JaBtYhn0AY5+t7jcCdJeTahS/7RKJPYPiSfbgI6zwpHM9
kX4FT+0yDgnVF1H/h9p19Uv/3ahIgt7op/M1eAdH0/eP6Dv04rQnWXVtIE1haW50
YWluZXIgPHdlYm1hc3RlckBjbG91ZGVyYS5jb20+iGAEExECACAFAkpBgEUCGwMG
CwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRD5DA2P6PhqzRo1AKCIHNWJSd7OipbZ
qp58f/BWaIBlDACggNRH4Hvg92t3xtwYFdohRWF2Xbi5Ag0ESkGARxAIAMaPPGfQ
vsLkyLyM3ePtkkHi0bew0XGW1CYxWOZLMu8wnJgMHpfPD2dLgp6PEh+zpi2SM1ie
QGAW6K040TSuC9P+LcZB7SxanIE7lONHjz7spGQift30WFZcaIgF+MuyZIihNh7v
tZ9ip8JZYPA88XRNU1CKuXx4r8iCDJ4ICksFKeOwQUuzf/IRJapzEZ0ixfVTwx91
yG10TvHK63BRLXYHBML4Og9FaPZgFq2N9Yz4Wpu/Pn6tjZAMeSJXm2qNO2PSoTC/
kapubpMwSmOBlZqrHi9lcIWricXE9dcyaGVRAf3CJRlX4ZNuwcQjyks5BFibU3/z
qlzP6KgwTgDmaaMAAwUH/04KRM3k6Ow2KkDt2BKWveOI24mkIQahUJ7/iZlKsL27
3VcGQZ7jU28GT0FH9iYeAgbpLrrEuDAFZpGm9RoOVJGnxWX3DVL1+qkiS56pXfU+
8atZlkCGx09IilJgf0ATlmYxbTtYliTRPK4lQYOfNB1v23bdlBwISjcDRkWu22ao
atSBzr/FARL6fdZZqp2qfWOmcteiLagioo6s0ogxKNQH5PldUQy9n2W/oOXss5sC
lnUNvzKlzzx/pFkT8ZUAvuLY0v8gykk586vbjiuPkg8uAOBhtnsSWwJ6nEPaRCnu
iwlqGxgXmnJ7UMzOimkuf0XvqavhkMEEAqRJkNLyWVuISQQYEQIACQUCSkGARwIb
DAAKCRD5DA2P6PhqzUV2AJ0eV3C407Y3Xi4d27clLsz/wW0HMgCghcxCmiOT2kWH
6Ya7d9nkKz2UM+Y=
=+VR8
-----END PGP PUBLIC KEY BLOCK-----
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# cat RPM-GPG-KEY-cloudera

4>.制作本地CM源(https://archive.cloudera.com/cdh5/parcels/5.15.1/) 

[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# yum -y install yum-utils createrepo yum-plugin-priorities
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.tuna.tsinghua.edu.cn
 * extras: mirror.bit.edu.cn
 * updates: mirror.bit.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package createrepo.noarch 0:0.9.9-28.el7 will be installed
--> Processing Dependency: python-deltarpm for package: createrepo-0.9.9-28.el7.noarch
--> Processing Dependency: libxml2-python for package: createrepo-0.9.9-28.el7.noarch
--> Processing Dependency: deltarpm for package: createrepo-0.9.9-28.el7.noarch
---> Package yum-plugin-priorities.noarch 0:1.1.31-50.el7 will be installed
---> Package yum-utils.noarch 0:1.1.31-50.el7 will be installed
--> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-50.el7.noarch
--> Running transaction check
---> Package deltarpm.x86_64 0:3.6-3.el7 will be installed
---> Package libxml2-python.x86_64 0:2.9.1-6.el7_2.3 will be installed
---> Package python-deltarpm.x86_64 0:3.6-3.el7 will be installed
---> Package python-kitchen.noarch 0:1.1.1-5.el7 will be installed
--> Processing Dependency: python-chardet for package: python-kitchen-1.1.1-5.el7.noarch
--> Running transaction check
---> Package python-chardet.noarch 0:2.2.1-1.el7_1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================================================================
 Package                                                      Arch                                          Version                                                 Repository                                   Size
======================================================================================================================================================================================================================
Installing:
 createrepo                                                   noarch                                        0.9.9-28.el7                                            base                                         94 k
 yum-plugin-priorities                                        noarch                                        1.1.31-50.el7                                           base                                         29 k
 yum-utils                                                    noarch                                        1.1.31-50.el7                                           base                                        121 k
Installing for dependencies:
 deltarpm                                                     x86_64                                        3.6-3.el7                                               base                                         82 k
 libxml2-python                                               x86_64                                        2.9.1-6.el7_2.3                                         base                                        247 k
 python-chardet                                               noarch                                        2.2.1-1.el7_1                                           base                                        227 k
 python-deltarpm                                              x86_64                                        3.6-3.el7                                               base                                         31 k
 python-kitchen                                               noarch                                        1.1.1-5.el7                                             base                                        267 k

Transaction Summary
======================================================================================================================================================================================================================
Install  3 Packages (+5 Dependent packages)

Total download size: 1.1 M
Installed size: 4.8 M
Downloading packages:
(1/8): deltarpm-3.6-3.el7.x86_64.rpm                                                                                                                                                           |  82 kB  00:00:00     
(2/8): python-kitchen-1.1.1-5.el7.noarch.rpm                                                                                                                                                   | 267 kB  00:00:00     
(3/8): yum-plugin-priorities-1.1.31-50.el7.noarch.rpm                                                                                                                                          |  29 kB  00:00:00     
(4/8): yum-utils-1.1.31-50.el7.noarch.rpm                                                                                                                                                      | 121 kB  00:00:00     
(5/8): createrepo-0.9.9-28.el7.noarch.rpm                                                                                                                                                      |  94 kB  00:00:00     
(6/8): python-deltarpm-3.6-3.el7.x86_64.rpm                                                                                                                                                    |  31 kB  00:00:00     
(7/8): python-chardet-2.2.1-1.el7_1.noarch.rpm                                                                                                                                                 | 227 kB  00:00:00     
(8/8): libxml2-python-2.9.1-6.el7_2.3.x86_64.rpm                                                                                                                                               | 247 kB  00:00:01     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                 566 kB/s | 1.1 MB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : deltarpm-3.6-3.el7.x86_64                                                                                                                                                                          1/8 
  Installing : libxml2-python-2.9.1-6.el7_2.3.x86_64                                                                                                                                                              2/8 
  Installing : python-deltarpm-3.6-3.el7.x86_64                                                                                                                                                                   3/8 
  Installing : python-chardet-2.2.1-1.el7_1.noarch                                                                                                                                                                4/8 
  Installing : python-kitchen-1.1.1-5.el7.noarch                                                                                                                                                                  5/8 
  Installing : yum-utils-1.1.31-50.el7.noarch                                                                                                                                                                     6/8 
  Installing : createrepo-0.9.9-28.el7.noarch                                                                                                                                                                     7/8 
  Installing : yum-plugin-priorities-1.1.31-50.el7.noarch                                                                                                                                                         8/8 
  Verifying  : yum-utils-1.1.31-50.el7.noarch                                                                                                                                                                     1/8 
  Verifying  : python-deltarpm-3.6-3.el7.x86_64                                                                                                                                                                   2/8 
  Verifying  : yum-plugin-priorities-1.1.31-50.el7.noarch                                                                                                                                                         3/8 
  Verifying  : libxml2-python-2.9.1-6.el7_2.3.x86_64                                                                                                                                                              4/8 
  Verifying  : deltarpm-3.6-3.el7.x86_64                                                                                                                                                                          5/8 
  Verifying  : createrepo-0.9.9-28.el7.noarch                                                                                                                                                                     6/8 
  Verifying  : python-chardet-2.2.1-1.el7_1.noarch                                                                                                                                                                7/8 
  Verifying  : python-kitchen-1.1.1-5.el7.noarch                                                                                                                                                                  8/8 

Installed:
  createrepo.noarch 0:0.9.9-28.el7                                   yum-plugin-priorities.noarch 0:1.1.31-50.el7                                   yum-utils.noarch 0:1.1.31-50.el7                                  

Dependency Installed:
  deltarpm.x86_64 0:3.6-3.el7        libxml2-python.x86_64 0:2.9.1-6.el7_2.3        python-chardet.noarch 0:2.2.1-1.el7_1        python-deltarpm.x86_64 0:3.6-3.el7        python-kitchen.noarch 0:1.1.1-5.el7       

Complete!
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# yum -y install yum-utils createrepo yum-plugin-priorities        #安装本地源制作相关工具
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# ll
total 986152
-rw-r--r-- 1 root root   9864584 Jun 11 12:50 cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root 789872988 Jun 11 14:32 cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root      8704 Jun 11 12:35 cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root     10612 Jun 11 12:35 cloudera-manager-server-db-2-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root  30604172 Jun 11 12:56 enterprise-debuginfo-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root 179439263 Jun 11  2019 jdk-8u211-linux-x64.rpm
-rw-r--r-- 1 root root      1690 Feb 21  2018 RPM-GPG-KEY-cloudera
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# createrepo .               #创建yum源的元数据文件!
Spawning worker 0 with 2 pkgs
Spawning worker 1 with 2 pkgs
Spawning worker 2 with 1 pkgs
Spawning worker 3 with 1 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# ll
total 986156
-rw-r--r-- 1 root root   9864584 Jun 11 12:50 cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root 789872988 Jun 11 14:32 cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root      8704 Jun 11 12:35 cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root     10612 Jun 11 12:35 cloudera-manager-server-db-2-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root  30604172 Jun 11 12:56 enterprise-debuginfo-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm
-rw-r--r-- 1 root root 179439263 Jun 11  2019 jdk-8u211-linux-x64.rpm
drwxr-xr-x 2 root root      4096 Jun 11 14:34 repodata                     #这个目录就是我们执行上面的命令后生成的目录,该目录不可被删除!否则你配置的yum的使用者依旧无法使用yum命令进行安装
-rw-r--r-- 1 root root      1690 Feb 21  2018 RPM-GPG-KEY-cloudera
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# ll repodata/       #查看生成目录文件,一眼望去好像都是一些压缩文件,感兴趣的同学可以看看repomod.xml的内容,了解即可。
total 244
-rw-r--r-- 1 root root 107894 Jun 11 14:34 0773844ffcb582f420662869b1c9988bff65291c4561a41306a18e1355b4bb46-filelists.xml.gz
-rw-r--r-- 1 root root   9252 Jun 11 14:34 1cc4b9b1d0a7d08b2fe0547997ecd9ff10e489864d39cc82a38f93883cbf9c8c-primary.sqlite.bz2
-rw-r--r-- 1 root root   3549 Jun 11 14:34 3b09cb572bdc23fe281c6c90e2efd07a176954446742d68cef6d2e68c47add55-primary.xml.gz
-rw-r--r-- 1 root root 107738 Jun 11 14:34 3cec6f79c7e55a7fe18b5e634d9f5d89f39e8495fe517ea3cd3dad91907e5b65-filelists.sqlite.bz2
-rw-r--r-- 1 root root   1030 Jun 11 14:34 be14425a07e928a01011ff26bed64fbabdb9b7276b27100fdc756b3fbe5f5825-other.sqlite.bz2
-rw-r--r-- 1 root root    531 Jun 11 14:34 d31b40285b556b497c470b733dfdd79af9d24356ae58052cb909a26a4199d7d6-other.xml.gz
-rw-r--r-- 1 root root   2979 Jun 11 14:34 repomd.xml
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cm-5.16.1]#

5>.下载CDH的版本存放到指定路径

[root@node107.yinzhengjie.org.cn ~]# mkdir /var/www/html/cdh-5.15.1  && cd /var/www/html/cdh-5.15.1
[root@node107.yinzhengjie.org.cn /var/www/html/cdh-5.15.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cdh-5.15.1]# rz

You have mail in /var/spool/mail/root
[root@node107.yinzhengjie.org.cn /var/www/html/cdh-5.15.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cdh-5.15.1]# ll
total 2070484
-rw-r--r-- 1 root root 2120090032 Jan  8 17:10 CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel
-rw-r--r-- 1 root root         41 Jan  8 14:54 CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel.sha1
-rw-r--r-- 1 root root      73767 Jan  8 14:54 manifest.json
[root@node107.yinzhengjie.org.cn /var/www/html/cdh-5.15.1]# 
[root@node107.yinzhengjie.org.cn /var/www/html/cdh-5.15.1]#

6>.访问httpd服务是否正常

 

 

三.安装和配置Cloudera Manager

1>.备份主机的yum源

[root@node101.yinzhengjie.org.cn ~]# mkdir /etc/yum.repos.d/repo-bak
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/repo-bak/
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# cd /etc/yum.repos.d/
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# ll
total 0
drwxr-xr-x 2 root root 187 Jun 11 15:13 repo-bak
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]#

2>.各个主机配置CM自建的yum仓库

[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# ll
total 0
drwxr-xr-x 2 root root 187 Jun 11 15:13 repo-bak
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# wget https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/cloudera-manager.repo
--2019-06-11 15:13:39--  https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/cloudera-manager.repo
Resolving archive.cloudera.com (archive.cloudera.com)... 151.101.228.167
Connecting to archive.cloudera.com (archive.cloudera.com)|151.101.228.167|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 290 [binary/octet-stream]
Saving to: ‘cloudera-manager.repo’

100%[============================================================================================================================================================================>] 290         --.-K/s   in 0s      

2019-06-11 15:13:41 (15.2 MB/s) - ‘cloudera-manager.repo’ saved [290/290]

[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# ll
total 4
-rw-r--r-- 1 root root 290 Dec 14 00:32 cloudera-manager.repo
drwxr-xr-x 2 root root 187 Jun 11 15:13 repo-bak
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# wget https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/cloudera-manager.repo      #下载官方的yum源
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# cat cloudera-manager.repo 
[cloudera-manager]
# Packages for Cloudera Manager, Version 5, on RedHat or CentOS 7 x86_64                 
name=Cloudera Manager
baseurl=https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5/
gpgkey =https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/RPM-GPG-KEY-cloudera    
gpgcheck = 1

[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# cat cloudera-manager.repo                                      #查看官方的默认配置
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# cat cloudera-manager.repo             #修改CM的yum源为咱们自建的地址即可。  
[cloudera-manager]
# Packages for Cloudera Manager, Version 5, on RedHat or CentOS 7 x86_64                 
name=Cloudera Manager
baseurl=http://node107.yinzhengjie.org.cn/cm-5.16.1/
gpgkey =http://node107.yinzhengjie.org.cn/cm-5.16.1/RPM-GPG-KEY-cloudera
enable = 1
gpgcheck = 1
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# yum repolist                    #查看yum源列表,很显然,当前服务器的yum源我只有我这一个源,而我的源的确也就只有6个安装包。
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
cloudera-manager                                                                                                                                                                               | 2.9 kB  00:00:00     
cloudera-manager/primary_db                                                                                                                                                                    | 9.0 kB  00:00:00     
repo id                                                                                                 repo name                                                                                               status
cloudera-manager                                                                                        Cloudera Manager                                                                                        6
repolist: 6
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# tail -2 /etc/ansible/hosts 
[cdh]
node[101:105].yinzhengjie.org.cn
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# ansible --list-hosts cdh
  hosts (5):
    node101.yinzhengjie.org.cn
    node102.yinzhengjie.org.cn
    node103.yinzhengjie.org.cn
    node104.yinzhengjie.org.cn
    node105.yinzhengjie.org.cn
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]#
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# ansible cdh -m copy -a 'src=/etc/yum.repos.d/cloudera-manager.repo dest=/etc/yum.repos.d'
node104.yinzhengjie.org.cn | SUCCESS => {
    "changed": true, 
    "checksum": "dcda5687b608a239e8443ce7512b983ef6661e69", 
    "dest": "/etc/yum.repos.d/cloudera-manager.repo", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "b61a344e840654e62b7d18f5cd3ec8a6", 
    "mode": "0644", 
    "owner": "root", 
    "size": 278, 
    "src": "/root/.ansible/tmp/ansible-tmp-1560238277.67-207293328316269/source", 
    "state": "file", 
    "uid": 0
}
node103.yinzhengjie.org.cn | SUCCESS => {
    "changed": true, 
    "checksum": "dcda5687b608a239e8443ce7512b983ef6661e69", 
    "dest": "/etc/yum.repos.d/cloudera-manager.repo", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "b61a344e840654e62b7d18f5cd3ec8a6", 
    "mode": "0644", 
    "owner": "root", 
    "size": 278, 
    "src": "/root/.ansible/tmp/ansible-tmp-1560238277.63-242757889386805/source", 
    "state": "file", 
    "uid": 0
}
node105.yinzhengjie.org.cn | SUCCESS => {
    "changed": true, 
    "checksum": "dcda5687b608a239e8443ce7512b983ef6661e69", 
    "dest": "/etc/yum.repos.d/cloudera-manager.repo", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "b61a344e840654e62b7d18f5cd3ec8a6", 
    "mode": "0644", 
    "owner": "root", 
    "size": 278, 
    "src": "/root/.ansible/tmp/ansible-tmp-1560238277.7-226825724891438/source", 
    "state": "file", 
    "uid": 0
}
node102.yinzhengjie.org.cn | SUCCESS => {
    "changed": true, 
    "checksum": "dcda5687b608a239e8443ce7512b983ef6661e69", 
    "dest": "/etc/yum.repos.d/cloudera-manager.repo", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "b61a344e840654e62b7d18f5cd3ec8a6", 
    "mode": "0644", 
    "owner": "root", 
    "size": 278, 
    "src": "/root/.ansible/tmp/ansible-tmp-1560238277.59-84770437088874/source", 
    "state": "file", 
    "uid": 0
}
node101.yinzhengjie.org.cn | SUCCESS => {
    "changed": false, 
    "checksum": "dcda5687b608a239e8443ce7512b983ef6661e69", 
    "gid": 0, 
    "group": "root", 
    "mode": "0644", 
    "owner": "root", 
    "path": "/etc/yum.repos.d/cloudera-manager.repo", 
    "size": 278, 
    "state": "file", 
    "uid": 0
}
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# ansible cdh -m copy -a 'src=/etc/yum.repos.d/cloudera-manager.repo dest=/etc/yum.repos.d'      #将node101.yinzhengjie.org.cn分发到CDH其他节点中
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# ansible cdh -m shell -a 'ls -l /etc/yum.repos.d | grep cloudera-manager.repo'
node104.yinzhengjie.org.cn | SUCCESS | rc=0 >>
-rw-r--r--  1 root root  278 Jun 11 15:31 cloudera-manager.repo

node103.yinzhengjie.org.cn | SUCCESS | rc=0 >>
-rw-r--r--  1 root root  278 Jun 11 15:31 cloudera-manager.repo

node102.yinzhengjie.org.cn | SUCCESS | rc=0 >>
-rw-r--r--  1 root root  278 Jun 11 15:31 cloudera-manager.repo

node105.yinzhengjie.org.cn | SUCCESS | rc=0 >>
-rw-r--r--  1 root root  278 Jun 11 15:31 cloudera-manager.repo

node101.yinzhengjie.org.cn | SUCCESS | rc=0 >>
-rw-r--r-- 1 root root 278 Jun 11 15:21 cloudera-manager.repo

[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# ansible cdh -m shell -a 'ls -l /etc/yum.repos.d | grep cloudera-manager.repo'             #查看是否拷贝成功

3>.安装Cloudera Manager Server端(由于我们使用自建的镜像地址安装,而且也配置好了yum源,我们这里直接安装即可!)

[root@node101.yinzhengjie.org.cn ~]# yum -y install cloudera-manager-daemons cloudera-manager-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package cloudera-manager-daemons.x86_64 0:5.16.1-1.cm5161.p0.1.el7 will be installed
---> Package cloudera-manager-server.x86_64 0:5.16.1-1.cm5161.p0.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================================================================================
 Package                                                          Arch                                           Version                                                          Repository                                                Size
=================================================================================================================================================================================================================================================
Installing:
 cloudera-manager-daemons                                         x86_64                                         5.16.1-1.cm5161.p0.1.el7                                         cloudera-manager                                         753 M
 cloudera-manager-server                                          x86_64                                         5.16.1-1.cm5161.p0.1.el7                                         cloudera-manager                                         8.5 k

Transaction Summary
=================================================================================================================================================================================================================================================
Install  2 Packages

Total download size: 753 M
Installed size: 935 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/cloudera-manager/packages/cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID e8f86acd: NOKEY
Public key for cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm is not installed
(1/2): cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm                                                                                                                                                        | 8.5 kB  00:00:00     
(2/2): cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm                                                                                                                                                       | 753 MB  00:00:14     
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                             52 MB/s | 753 MB  00:00:14     
Retrieving key from http://node107.yinzhengjie.org.cn/cm-5.16.1/RPM-GPG-KEY-cloudera
Importing GPG key 0xE8F86ACD:
 Userid     : "Yum Maintainer <webmaster@cloudera.com>"
 Fingerprint: 5f14 d39e f068 1aca 6f04 4a43 f90c 0d8f e8f8 6acd
 From       : http://node107.yinzhengjie.org.cn/cm-5.16.1/RPM-GPG-KEY-cloudera
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                                                      1/2 
  Installing : cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                                                       2/2 
  Verifying  : cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                                                       1/2 
  Verifying  : cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                                                      2/2 

Installed:
  cloudera-manager-daemons.x86_64 0:5.16.1-1.cm5161.p0.1.el7                                                              cloudera-manager-server.x86_64 0:5.16.1-1.cm5161.p0.1.el7                                                             

Complete!
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# yum -y install cloudera-manager-daemons cloudera-manager-server

4>.配置Cloudera Manager Server的默认堆内存大小 

[root@node101.yinzhengjie.org.cn ~]# grep CMF_JAVA_OPTS /etc/default/cloudera-scm-server            #Cloudera Manager默认分配的JVM堆内存是2G,某些情况下会出现OOM的情况,我们可以适当将其调大。
export CMF_JAVA_OPTS="-Xmx2G -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp"
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# sed -i s'#Xmx2G#Xmx4G#' /etc/default/cloudera-scm-server         #我们将Cloudera Manager的堆内存调大到4G。测试环境的话可以配置为2G即可,但是该内存不能小于2G否其服务无法启动成功。
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# grep CMF_JAVA_OPTS /etc/default/cloudera-scm-server
export CMF_JAVA_OPTS="-Xmx4G -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp"
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]#

5>.初始化CM Server数据库(https://www.cloudera.com/documentation/enterprise/5-16-x/topics/prepare_cm_database.html#scm_prepare_syntax)

[root@node101.yinzhengjie.org.cn ~]# /usr/share/cmf/schema/scm_prepare_database.sh  mysql scm scm yinzhengjie -h node106.yinzhengjie.org.cn
JAVA_HOME=/usr/java/jdk1.8
Verifying that we can write to /etc/cloudera-scm-server
Creating SCM configuration file in /etc/cloudera-scm-server
Executing:  /usr/java/jdk1.8/bin/java -cp /usr/share/java/mysql-connector-java.jar:/usr/share/java/oracle-connector-java.jar:/usr/share/java/postgresql-connector-java.jar:/usr/share/cmf/schema/../lib/* com.cloudera.enterprise.dbutil.DbCommandExecutor /etc/cloudera-scm-server/db.properties com.cloudera.cmf.db.
Tue Jun 11 15:46:45 CST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
[                          main] DbCommandExecutor              INFO  Successfully connected to database.
All done, your SCM database is configured correctly!        #注意,如果你看到了这一行提示,说明配置完成,否则需要根据提示解决相应的错误!
[root@node101.yinzhengjie.org.cn ~]#

7>.各个节点安装Cloudera Manager Agent端 

[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# ll
total 4
-rw-r--r-- 1 root root 278 Jun 11 15:21 cloudera-manager.repo
drwxr-xr-x 2 root root 187 Jun 11 15:13 repo-bak
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# cp repo-bak/* ./
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# ll
total 36
-rw-r--r-- 1 root root 1664 Jun 11 15:59 CentOS-Base.repo
-rw-r--r-- 1 root root 1309 Jun 11 15:59 CentOS-CR.repo
-rw-r--r-- 1 root root  649 Jun 11 15:59 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  314 Jun 11 15:59 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  630 Jun 11 15:59 CentOS-Media.repo
-rw-r--r-- 1 root root 1331 Jun 11 15:59 CentOS-Sources.repo
-rw-r--r-- 1 root root 5701 Jun 11 15:59 CentOS-Vault.repo
-rw-r--r-- 1 root root  278 Jun 11 15:21 cloudera-manager.repo
drwxr-xr-x 2 root root  187 Jun 11 15:13 repo-bak
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# 
[root@node101.yinzhengjie.org.cn /etc/yum.repos.d]# cd
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# yum -y install  cloudera-manager-agent
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.huaweicloud.com
 * extras: mirrors.tuna.tsinghua.edu.cn
 * updates: mirror.bit.edu.cn
base                                                                                                                                                                                           | 3.6 kB  00:00:00     
extras                                                                                                                                                                                         | 3.4 kB  00:00:00     
updates                                                                                                                                                                                        | 3.4 kB  00:00:00     
updates/7/x86_64/primary_db                                                                                                                                                                    | 5.7 MB  00:00:02     
Resolving Dependencies
--> Running transaction check
---> Package cloudera-manager-agent.x86_64 0:5.16.1-1.cm5161.p0.1.el7 will be installed
--> Processing Dependency: python-psycopg2 for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
base/7/x86_64/filelists_db                                                                                                                                                                     | 7.1 MB  00:00:02     
--> Processing Dependency: portmap for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: openssl-devel for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
updates/7/x86_64/filelists_db                                                                                                                                                                  | 4.0 MB  00:00:01     
--> Processing Dependency: mod_ssl for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: httpd for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: MySQL-python for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Running transaction check
---> Package MySQL-python.x86_64 0:1.2.5-1.el7 will be installed
---> Package httpd.x86_64 0:2.4.6-89.el7.centos will be installed
--> Processing Dependency: httpd-tools = 2.4.6-89.el7.centos for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
---> Package mod_ssl.x86_64 1:2.4.6-89.el7.centos will be installed
---> Package openssl-devel.x86_64 1:1.0.2k-16.el7_6.1 will be installed
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-16.el7_6.1 for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
---> Package python-psycopg2.x86_64 0:2.5.1-3.el7 will be installed
--> Processing Dependency: libpq.so.5()(64bit) for package: python-psycopg2-2.5.1-3.el7.x86_64
---> Package rpcbind.x86_64 0:0.2.0-47.el7 will be installed
--> Processing Dependency: libtirpc >= 0.2.4-0.7 for package: rpcbind-0.2.0-47.el7.x86_64
--> Processing Dependency: libtirpc.so.1()(64bit) for package: rpcbind-0.2.0-47.el7.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-3.el7_4.1 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-89.el7.centos will be installed
---> Package krb5-devel.x86_64 0:1.15.1-37.el7_6 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-37.el7_6 for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: krb5-libs(x86-64) = 1.15.1-37.el7_6 for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
---> Package libtirpc.x86_64 0:0.2.4-0.15.el7 will be installed
---> Package openssl-libs.x86_64 1:1.0.2k-16.el7 will be updated
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-16.el7 for package: 1:openssl-1.0.2k-16.el7.x86_64
---> Package openssl-libs.x86_64 1:1.0.2k-16.el7_6.1 will be an update
---> Package postgresql-libs.x86_64 0:9.2.24-1.el7_5 will be installed
---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be installed
--> 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.15.1-34.el7 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-37.el7_6 will be an update
---> Package libcom_err-devel.x86_64 0:1.42.9-13.el7 will be installed
---> Package libkadm5.x86_64 0:1.15.1-37.el7_6 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.2k-16.el7 will be updated
---> Package openssl.x86_64 1:1.0.2k-16.el7_6.1 will be an update
--> Running transaction check
---> 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
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================================================================
 Package                                                 Arch                                    Version                                                      Repository                                         Size
======================================================================================================================================================================================================================
Installing:
 cloudera-manager-agent                                  x86_64                                  5.16.1-1.cm5161.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-3.el7_4.1                                              base                                              103 k
 apr-util                                                x86_64                                  1.5.2-6.el7                                                  base                                               92 k
 httpd                                                   x86_64                                  2.4.6-89.el7.centos                                          updates                                           2.7 M
 httpd-tools                                             x86_64                                  2.4.6-89.el7.centos                                          updates                                            90 k
 keyutils-libs-devel                                     x86_64                                  1.5.8-3.el7                                                  base                                               37 k
 krb5-devel                                              x86_64                                  1.15.1-37.el7_6                                              updates                                           271 k
 libcom_err-devel                                        x86_64                                  1.42.9-13.el7                                                base                                               31 k
 libkadm5                                                x86_64                                  1.15.1-37.el7_6                                              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
 libtirpc                                                x86_64                                  0.2.4-0.15.el7                                               base                                               89 k
 libverto-devel                                          x86_64                                  0.2.5-4.el7                                                  base                                               12 k
 mod_ssl                                                 x86_64                                  1:2.4.6-89.el7.centos                                        updates                                           112 k
 openssl-devel                                           x86_64                                  1:1.0.2k-16.el7_6.1                                          updates                                           1.5 M
 pcre-devel                                              x86_64                                  8.32-17.el7                                                  base                                              480 k
 postgresql-libs                                         x86_64                                  9.2.24-1.el7_5                                               base                                              234 k
 python-psycopg2                                         x86_64                                  2.5.1-3.el7                                                  base                                              132 k
 rpcbind                                                 x86_64                                  0.2.0-47.el7                                                 base                                               60 k
 zlib-devel                                              x86_64                                  1.2.7-18.el7                                                 base                                               50 k
Updating for dependencies:
 krb5-libs                                               x86_64                                  1.15.1-37.el7_6                                              updates                                           803 k
 openssl                                                 x86_64                                  1:1.0.2k-16.el7_6.1                                          updates                                           493 k
 openssl-libs                                            x86_64                                  1:1.0.2k-16.el7_6.1                                          updates                                           1.2 M

Transaction Summary
======================================================================================================================================================================================================================
Install  1 Package  (+20 Dependent packages)
Upgrade             (  3 Dependent packages)

Total download size: 18 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/24): cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm                                                                                                                             | 9.4 MB  00:00:00     
(2/24): MySQL-python-1.2.5-1.el7.x86_64.rpm                                                                                                                                                    |  90 kB  00:00:00     
(3/24): apr-1.4.8-3.el7_4.1.x86_64.rpm                                                                                                                                                         | 103 kB  00:00:00     
(4/24): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm                                                                                                                                             |  37 kB  00:00:00     
(5/24): httpd-tools-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                             |  90 kB  00:00:00     
(6/24): libcom_err-devel-1.42.9-13.el7.x86_64.rpm                                                                                                                                              |  31 kB  00:00:00     
(7/24): libkadm5-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                    | 178 kB  00:00:00     
(8/24): httpd-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                                   | 2.7 MB  00:00:01     
(9/24): krb5-devel-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                  | 271 kB  00:00:01     
(10/24): libsepol-devel-2.5-10.el7.x86_64.rpm                                                                                                                                                  |  77 kB  00:00:00     
(11/24): libverto-devel-0.2.5-4.el7.x86_64.rpm                                                                                                                                                 |  12 kB  00:00:00     
(12/24): krb5-libs-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                  | 803 kB  00:00:01     
(13/24): mod_ssl-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                                | 112 kB  00:00:00     
(14/24): openssl-devel-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                            | 1.5 MB  00:00:00     
(15/24): libselinux-devel-2.5-14.1.el7.x86_64.rpm                                                                                                                                              | 187 kB  00:00:01     
(16/24): openssl-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                                  | 493 kB  00:00:01     
(17/24): openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                             | 1.2 MB  00:00:00     
(18/24): pcre-devel-8.32-17.el7.x86_64.rpm                                                                                                                                                     | 480 kB  00:00:00     
(19/24): python-psycopg2-2.5.1-3.el7.x86_64.rpm                                                                                                                                                | 132 kB  00:00:00     
(20/24): zlib-devel-1.2.7-18.el7.x86_64.rpm                                                                                                                                                    |  50 kB  00:00:00     
(21/24): rpcbind-0.2.0-47.el7.x86_64.rpm                                                                                                                                                       |  60 kB  00:00:00     
(22/24): postgresql-libs-9.2.24-1.el7_5.x86_64.rpm                                                                                                                                             | 234 kB  00:00:00     
(23/24): libtirpc-0.2.4-0.15.el7.x86_64.rpm                                                                                                                                                    |  89 kB  00:00:12     
apr-util-1.5.2-6.el7.x86_64.rp FAILED                                          
http://mirrors.njupt.edu.cn/centos/7.6.1810/os/x86_64/Packages/apr-util-1.5.2-6.el7.x86_64.rpm: [Errno 14] HTTP Error 302 - Found================================================== ]  22 kB/s |  18 MB  00:00:08 ETA 
Trying other mirror.
(24/24): apr-util-1.5.2-6.el7.x86_64.rpm                                                                                                                                                       |  92 kB  00:00:00     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                 872 kB/s |  18 MB  00:00:21     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : 1:openssl-libs-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                           1/27 
  Updating   : krb5-libs-1.15.1-37.el7_6.x86_64                                                                                                                                                                  2/27 
  Installing : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                        3/27 
  Installing : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                       4/27 
  Updating   : 1:openssl-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                                5/27 
  Installing : httpd-tools-2.4.6-89.el7.centos.x86_64                                                                                                                                                            6/27 
  Installing : httpd-2.4.6-89.el7.centos.x86_64                                                                                                                                                                  7/27 
  Installing : 1:mod_ssl-2.4.6-89.el7.centos.x86_64                                                                                                                                                              8/27 
  Installing : libkadm5-1.15.1-37.el7_6.x86_64                                                                                                                                                                   9/27 
  Installing : postgresql-libs-9.2.24-1.el7_5.x86_64                                                                                                                                                            10/27 
  Installing : python-psycopg2-2.5.1-3.el7.x86_64                                                                                                                                                               11/27 
  Installing : libtirpc-0.2.4-0.15.el7.x86_64                                                                                                                                                                   12/27 
  Installing : rpcbind-0.2.0-47.el7.x86_64                                                                                                                                                                      13/27 
  Installing : MySQL-python-1.2.5-1.el7.x86_64                                                                                                                                                                  14/27 
  Installing : libsepol-devel-2.5-10.el7.x86_64                                                                                                                                                                 15/27 
  Installing : zlib-devel-1.2.7-18.el7.x86_64                                                                                                                                                                   16/27 
  Installing : libverto-devel-0.2.5-4.el7.x86_64                                                                                                                                                                17/27 
  Installing : libcom_err-devel-1.42.9-13.el7.x86_64                                                                                                                                                            18/27 
  Installing : pcre-devel-8.32-17.el7.x86_64                                                                                                                                                                    19/27 
  Installing : libselinux-devel-2.5-14.1.el7.x86_64                                                                                                                                                             20/27 
  Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                                                                                                           21/27 
  Installing : krb5-devel-1.15.1-37.el7_6.x86_64                                                                                                                                                                22/27 
  Installing : 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                         23/27 
  Installing : cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                           24/27 
  Cleanup    : 1:openssl-1.0.2k-16.el7.x86_64                                                                                                                                                                   25/27 
  Cleanup    : 1:openssl-libs-1.0.2k-16.el7.x86_64                                                                                                                                                              26/27 
  Cleanup    : krb5-libs-1.15.1-34.el7.x86_64                                                                                                                                                                   27/27 
  Verifying  : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                                                                                                            1/27 
  Verifying  : MySQL-python-1.2.5-1.el7.x86_64                                                                                                                                                                   2/27 
  Verifying  : pcre-devel-8.32-17.el7.x86_64                                                                                                                                                                     3/27 
  Verifying  : 1:mod_ssl-2.4.6-89.el7.centos.x86_64                                                                                                                                                              4/27 
  Verifying  : libcom_err-devel-1.42.9-13.el7.x86_64                                                                                                                                                             5/27 
  Verifying  : krb5-devel-1.15.1-37.el7_6.x86_64                                                                                                                                                                 6/27 
  Verifying  : httpd-tools-2.4.6-89.el7.centos.x86_64                                                                                                                                                            7/27 
  Verifying  : libverto-devel-0.2.5-4.el7.x86_64                                                                                                                                                                 8/27 
  Verifying  : zlib-devel-1.2.7-18.el7.x86_64                                                                                                                                                                    9/27 
  Verifying  : krb5-libs-1.15.1-37.el7_6.x86_64                                                                                                                                                                 10/27 
  Verifying  : python-psycopg2-2.5.1-3.el7.x86_64                                                                                                                                                               11/27 
  Verifying  : cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                           12/27 
  Verifying  : 1:openssl-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                               13/27 
  Verifying  : 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                         14/27 
  Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                      15/27 
  Verifying  : rpcbind-0.2.0-47.el7.x86_64                                                                                                                                                                      16/27 
  Verifying  : 1:openssl-libs-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                          17/27 
  Verifying  : httpd-2.4.6-89.el7.centos.x86_64                                                                                                                                                                 18/27 
  Verifying  : libsepol-devel-2.5-10.el7.x86_64                                                                                                                                                                 19/27 
  Verifying  : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                       20/27 
  Verifying  : libkadm5-1.15.1-37.el7_6.x86_64                                                                                                                                                                  21/27 
  Verifying  : libselinux-devel-2.5-14.1.el7.x86_64                                                                                                                                                             22/27 
  Verifying  : postgresql-libs-9.2.24-1.el7_5.x86_64                                                                                                                                                            23/27 
  Verifying  : libtirpc-0.2.4-0.15.el7.x86_64                                                                                                                                                                   24/27 
  Verifying  : 1:openssl-libs-1.0.2k-16.el7.x86_64                                                                                                                                                              25/27 
  Verifying  : 1:openssl-1.0.2k-16.el7.x86_64                                                                                                                                                                   26/27 
  Verifying  : krb5-libs-1.15.1-34.el7.x86_64                                                                                                                                                                   27/27 

Installed:
  cloudera-manager-agent.x86_64 0:5.16.1-1.cm5161.p0.1.el7                                                                                                                                                            

Dependency Installed:
  MySQL-python.x86_64 0:1.2.5-1.el7          apr.x86_64 0:1.4.8-3.el7_4.1              apr-util.x86_64 0:1.5.2-6.el7             httpd.x86_64 0:2.4.6-89.el7.centos     httpd-tools.x86_64 0:2.4.6-89.el7.centos  
  keyutils-libs-devel.x86_64 0:1.5.8-3.el7   krb5-devel.x86_64 0:1.15.1-37.el7_6       libcom_err-devel.x86_64 0:1.42.9-13.el7   libkadm5.x86_64 0:1.15.1-37.el7_6      libselinux-devel.x86_64 0:2.5-14.1.el7    
  libsepol-devel.x86_64 0:2.5-10.el7         libtirpc.x86_64 0:0.2.4-0.15.el7          libverto-devel.x86_64 0:0.2.5-4.el7       mod_ssl.x86_64 1:2.4.6-89.el7.centos   openssl-devel.x86_64 1:1.0.2k-16.el7_6.1  
  pcre-devel.x86_64 0:8.32-17.el7            postgresql-libs.x86_64 0:9.2.24-1.el7_5   python-psycopg2.x86_64 0:2.5.1-3.el7      rpcbind.x86_64 0:0.2.0-47.el7          zlib-devel.x86_64 0:1.2.7-18.el7          

Dependency Updated:
  krb5-libs.x86_64 0:1.15.1-37.el7_6                                   openssl.x86_64 1:1.0.2k-16.el7_6.1                                   openssl-libs.x86_64 1:1.0.2k-16.el7_6.1                                  

Complete!
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# yum -y install cloudera-manager-agent
[root@node102.yinzhengjie.org.cn ~]# yum -y install cloudera-manager-agent
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.tuna.tsinghua.edu.cn
 * extras: mirror.bit.edu.cn
 * updates: mirror.bit.edu.cn
base                                                                                                                                                                                           | 3.6 kB  00:00:00     
cloudera-manager                                                                                                                                                                               | 2.9 kB  00:00:00     
extras                                                                                                                                                                                         | 3.4 kB  00:00:00     
updates                                                                                                                                                                                        | 3.4 kB  00:00:00     
(1/2): cloudera-manager/primary_db                                                                                                                                                             | 9.0 kB  00:00:00     
(2/2): updates/7/x86_64/primary_db                                                                                                                                                             | 5.7 MB  00:00:03     
Resolving Dependencies
--> Running transaction check
---> Package cloudera-manager-agent.x86_64 0:5.16.1-1.cm5161.p0.1.el7 will be installed
cloudera-manager/filelists_db                                                                                                                                                                  | 105 kB  00:00:00     
--> Processing Dependency: cloudera-manager-daemons = 5.16.1 for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: python-psycopg2 for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
base/7/x86_64/filelists_db                                                                                                                                                                     | 7.1 MB  00:00:15     
--> Processing Dependency: portmap for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: openssl-devel for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
updates/7/x86_64/filelists_db                                                                                                                                                                  | 4.0 MB  00:00:05     
--> Processing Dependency: mod_ssl for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: httpd for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: MySQL-python for package: cloudera-manager-agent-5.16.1-1.cm5161.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.16.1-1.cm5161.p0.1.el7 will be installed
---> Package httpd.x86_64 0:2.4.6-89.el7.centos will be installed
--> Processing Dependency: httpd-tools = 2.4.6-89.el7.centos for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
---> Package mod_ssl.x86_64 1:2.4.6-89.el7.centos will be installed
---> Package openssl-devel.x86_64 1:1.0.2k-16.el7_6.1 will be installed
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-16.el7_6.1 for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
---> Package python-psycopg2.x86_64 0:2.5.1-3.el7 will be installed
--> Processing Dependency: libpq.so.5()(64bit) for package: python-psycopg2-2.5.1-3.el7.x86_64
---> Package rpcbind.x86_64 0:0.2.0-47.el7 will be installed
--> Processing Dependency: libtirpc >= 0.2.4-0.7 for package: rpcbind-0.2.0-47.el7.x86_64
--> Processing Dependency: libtirpc.so.1()(64bit) for package: rpcbind-0.2.0-47.el7.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-3.el7_4.1 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-89.el7.centos will be installed
---> Package krb5-devel.x86_64 0:1.15.1-37.el7_6 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-37.el7_6 for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: krb5-libs(x86-64) = 1.15.1-37.el7_6 for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
---> Package libtirpc.x86_64 0:0.2.4-0.15.el7 will be installed
---> Package openssl-libs.x86_64 1:1.0.2k-16.el7 will be updated
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-16.el7 for package: 1:openssl-1.0.2k-16.el7.x86_64
---> Package openssl-libs.x86_64 1:1.0.2k-16.el7_6.1 will be an update
---> Package postgresql-libs.x86_64 0:9.2.24-1.el7_5 will be installed
---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be installed
--> 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.15.1-34.el7 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-37.el7_6 will be an update
---> Package libcom_err-devel.x86_64 0:1.42.9-13.el7 will be installed
---> Package libkadm5.x86_64 0:1.15.1-37.el7_6 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.2k-16.el7 will be updated
---> Package openssl.x86_64 1:1.0.2k-16.el7_6.1 will be an update
--> Running transaction check
---> 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
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================================================================
 Package                                                   Arch                                    Version                                                    Repository                                         Size
======================================================================================================================================================================================================================
Installing:
 cloudera-manager-agent                                    x86_64                                  5.16.1-1.cm5161.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-3.el7_4.1                                            base                                              103 k
 apr-util                                                  x86_64                                  1.5.2-6.el7                                                base                                               92 k
 cloudera-manager-daemons                                  x86_64                                  5.16.1-1.cm5161.p0.1.el7                                   cloudera-manager                                  753 M
 httpd                                                     x86_64                                  2.4.6-89.el7.centos                                        updates                                           2.7 M
 httpd-tools                                               x86_64                                  2.4.6-89.el7.centos                                        updates                                            90 k
 keyutils-libs-devel                                       x86_64                                  1.5.8-3.el7                                                base                                               37 k
 krb5-devel                                                x86_64                                  1.15.1-37.el7_6                                            updates                                           271 k
 libcom_err-devel                                          x86_64                                  1.42.9-13.el7                                              base                                               31 k
 libkadm5                                                  x86_64                                  1.15.1-37.el7_6                                            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
 libtirpc                                                  x86_64                                  0.2.4-0.15.el7                                             base                                               89 k
 libverto-devel                                            x86_64                                  0.2.5-4.el7                                                base                                               12 k
 mod_ssl                                                   x86_64                                  1:2.4.6-89.el7.centos                                      updates                                           112 k
 openssl-devel                                             x86_64                                  1:1.0.2k-16.el7_6.1                                        updates                                           1.5 M
 pcre-devel                                                x86_64                                  8.32-17.el7                                                base                                              480 k
 postgresql-libs                                           x86_64                                  9.2.24-1.el7_5                                             base                                              234 k
 python-psycopg2                                           x86_64                                  2.5.1-3.el7                                                base                                              132 k
 rpcbind                                                   x86_64                                  0.2.0-47.el7                                               base                                               60 k
 zlib-devel                                                x86_64                                  1.2.7-18.el7                                               base                                               50 k
Updating for dependencies:
 krb5-libs                                                 x86_64                                  1.15.1-37.el7_6                                            updates                                           803 k
 openssl                                                   x86_64                                  1:1.0.2k-16.el7_6.1                                        updates                                           493 k
 openssl-libs                                              x86_64                                  1:1.0.2k-16.el7_6.1                                        updates                                           1.2 M

Transaction Summary
======================================================================================================================================================================================================================
Install  1 Package  (+21 Dependent packages)
Upgrade             (  3 Dependent packages)

Total download size: 772 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/25): MySQL-python-1.2.5-1.el7.x86_64.rpm                                                                                                                                                    |  90 kB  00:00:00     
warning: /var/cache/yum/x86_64/7/cloudera-manager/packages/cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID e8f86acd: NOKEY
Public key for cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm is not installed
(2/25): cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm                                                                                                                             | 9.4 MB  00:00:00     
(3/25): apr-util-1.5.2-6.el7.x86_64.rpm                                                                                                                                                        |  92 kB  00:00:00     
(4/25): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm                                                                                                                                             |  37 kB  00:00:00     
(5/25): krb5-devel-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                  | 271 kB  00:00:00     
(6/25): krb5-libs-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                   | 803 kB  00:00:00     
(7/25): apr-1.4.8-3.el7_4.1.x86_64.rpm                                                                                                                                                         | 103 kB  00:00:02     
(8/25): libkadm5-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                    | 178 kB  00:00:00     
(9/25): libselinux-devel-2.5-14.1.el7.x86_64.rpm                                                                                                                                               | 187 kB  00:00:00     
(10/25): libsepol-devel-2.5-10.el7.x86_64.rpm                                                                                                                                                  |  77 kB  00:00:00     
(11/25): libtirpc-0.2.4-0.15.el7.x86_64.rpm                                                                                                                                                    |  89 kB  00:00:00     
(12/25): libverto-devel-0.2.5-4.el7.x86_64.rpm                                                                                                                                                 |  12 kB  00:00:00     
(13/25): mod_ssl-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                                | 112 kB  00:00:00     
(14/25): libcom_err-devel-1.42.9-13.el7.x86_64.rpm                                                                                                                                             |  31 kB  00:00:00     
(15/25): openssl-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                                  | 493 kB  00:00:00     
(16/25): httpd-tools-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                            |  90 kB  00:00:03     
(17/25): openssl-devel-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                            | 1.5 MB  00:00:01     
(18/25): postgresql-libs-9.2.24-1.el7_5.x86_64.rpm                                                                                                                                             | 234 kB  00:00:00     
(19/25): python-psycopg2-2.5.1-3.el7.x86_64.rpm                                                                                                                                                | 132 kB  00:00:00     
(20/25): rpcbind-0.2.0-47.el7.x86_64.rpm                                                                                                                                                       |  60 kB  00:00:00     
(21/25): zlib-devel-1.2.7-18.el7.x86_64.rpm                                                                                                                                                    |  50 kB  00:00:00     
(22/25): httpd-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                                  | 2.7 MB  00:00:06     
(23/25): pcre-devel-8.32-17.el7.x86_64.rpm                                                                                                                                                     | 480 kB  00:00:03     
(24/25): openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                             | 1.2 MB  00:00:03     
(25/25): cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm                                                                                                                          | 753 MB  00:00:14     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                  54 MB/s | 772 MB  00:00:14     
Retrieving key from http://node107.yinzhengjie.org.cn/cm-5.16.1/RPM-GPG-KEY-cloudera
Importing GPG key 0xE8F86ACD:
 Userid     : "Yum Maintainer <webmaster@cloudera.com>"
 Fingerprint: 5f14 d39e f068 1aca 6f04 4a43 f90c 0d8f e8f8 6acd
 From       : http://node107.yinzhengjie.org.cn/cm-5.16.1/RPM-GPG-KEY-cloudera
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : 1:openssl-libs-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                           1/28 
  Updating   : krb5-libs-1.15.1-37.el7_6.x86_64                                                                                                                                                                  2/28 
  Installing : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                        3/28 
  Installing : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                       4/28 
  Updating   : 1:openssl-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                                5/28 
  Installing : httpd-tools-2.4.6-89.el7.centos.x86_64                                                                                                                                                            6/28 
  Installing : httpd-2.4.6-89.el7.centos.x86_64                                                                                                                                                                  7/28 
  Installing : 1:mod_ssl-2.4.6-89.el7.centos.x86_64                                                                                                                                                              8/28 
  Installing : libkadm5-1.15.1-37.el7_6.x86_64                                                                                                                                                                   9/28 
  Installing : postgresql-libs-9.2.24-1.el7_5.x86_64                                                                                                                                                            10/28 
  Installing : python-psycopg2-2.5.1-3.el7.x86_64                                                                                                                                                               11/28 
  Installing : libtirpc-0.2.4-0.15.el7.x86_64                                                                                                                                                                   12/28 
  Installing : rpcbind-0.2.0-47.el7.x86_64                                                                                                                                                                      13/28 
  Installing : MySQL-python-1.2.5-1.el7.x86_64                                                                                                                                                                  14/28 
  Installing : cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                         15/28 
  Installing : libsepol-devel-2.5-10.el7.x86_64                                                                                                                                                                 16/28 
  Installing : zlib-devel-1.2.7-18.el7.x86_64                                                                                                                                                                   17/28 
  Installing : libverto-devel-0.2.5-4.el7.x86_64                                                                                                                                                                18/28 
  Installing : libcom_err-devel-1.42.9-13.el7.x86_64                                                                                                                                                            19/28 
  Installing : pcre-devel-8.32-17.el7.x86_64                                                                                                                                                                    20/28 
  Installing : libselinux-devel-2.5-14.1.el7.x86_64                                                                                                                                                             21/28 
  Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                                                                                                           22/28 
  Installing : krb5-devel-1.15.1-37.el7_6.x86_64                                                                                                                                                                23/28 
  Installing : 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                         24/28 
  Installing : cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                           25/28 
  Cleanup    : 1:openssl-1.0.2k-16.el7.x86_64                                                                                                                                                                   26/28 
  Cleanup    : 1:openssl-libs-1.0.2k-16.el7.x86_64                                                                                                                                                              27/28 
  Cleanup    : krb5-libs-1.15.1-34.el7.x86_64                                                                                                                                                                   28/28 
  Verifying  : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                                                                                                            1/28 
  Verifying  : MySQL-python-1.2.5-1.el7.x86_64                                                                                                                                                                   2/28 
  Verifying  : pcre-devel-8.32-17.el7.x86_64                                                                                                                                                                     3/28 
  Verifying  : 1:mod_ssl-2.4.6-89.el7.centos.x86_64                                                                                                                                                              4/28 
  Verifying  : libcom_err-devel-1.42.9-13.el7.x86_64                                                                                                                                                             5/28 
  Verifying  : krb5-devel-1.15.1-37.el7_6.x86_64                                                                                                                                                                 6/28 
  Verifying  : httpd-tools-2.4.6-89.el7.centos.x86_64                                                                                                                                                            7/28 
  Verifying  : libverto-devel-0.2.5-4.el7.x86_64                                                                                                                                                                 8/28 
  Verifying  : zlib-devel-1.2.7-18.el7.x86_64                                                                                                                                                                    9/28 
  Verifying  : krb5-libs-1.15.1-37.el7_6.x86_64                                                                                                                                                                 10/28 
  Verifying  : python-psycopg2-2.5.1-3.el7.x86_64                                                                                                                                                               11/28 
  Verifying  : cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                           12/28 
  Verifying  : 1:openssl-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                               13/28 
  Verifying  : 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                         14/28 
  Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                      15/28 
  Verifying  : rpcbind-0.2.0-47.el7.x86_64                                                                                                                                                                      16/28 
  Verifying  : 1:openssl-libs-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                          17/28 
  Verifying  : httpd-2.4.6-89.el7.centos.x86_64                                                                                                                                                                 18/28 
  Verifying  : libsepol-devel-2.5-10.el7.x86_64                                                                                                                                                                 19/28 
  Verifying  : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                       20/28 
  Verifying  : cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                         21/28 
  Verifying  : libkadm5-1.15.1-37.el7_6.x86_64                                                                                                                                                                  22/28 
  Verifying  : libselinux-devel-2.5-14.1.el7.x86_64                                                                                                                                                             23/28 
  Verifying  : postgresql-libs-9.2.24-1.el7_5.x86_64                                                                                                                                                            24/28 
  Verifying  : libtirpc-0.2.4-0.15.el7.x86_64                                                                                                                                                                   25/28 
  Verifying  : 1:openssl-libs-1.0.2k-16.el7.x86_64                                                                                                                                                              26/28 
  Verifying  : 1:openssl-1.0.2k-16.el7.x86_64                                                                                                                                                                   27/28 
  Verifying  : krb5-libs-1.15.1-34.el7.x86_64                                                                                                                                                                   28/28 

Installed:
  cloudera-manager-agent.x86_64 0:5.16.1-1.cm5161.p0.1.el7                                                                                                                                                            

Dependency Installed:
  MySQL-python.x86_64 0:1.2.5-1.el7               apr.x86_64 0:1.4.8-3.el7_4.1                     apr-util.x86_64 0:1.5.2-6.el7                    cloudera-manager-daemons.x86_64 0:5.16.1-1.cm5161.p0.1.el7        
  httpd.x86_64 0:2.4.6-89.el7.centos              httpd-tools.x86_64 0:2.4.6-89.el7.centos         keyutils-libs-devel.x86_64 0:1.5.8-3.el7         krb5-devel.x86_64 0:1.15.1-37.el7_6                               
  libcom_err-devel.x86_64 0:1.42.9-13.el7         libkadm5.x86_64 0:1.15.1-37.el7_6                libselinux-devel.x86_64 0:2.5-14.1.el7           libsepol-devel.x86_64 0:2.5-10.el7                                
  libtirpc.x86_64 0:0.2.4-0.15.el7                libverto-devel.x86_64 0:0.2.5-4.el7              mod_ssl.x86_64 1:2.4.6-89.el7.centos             openssl-devel.x86_64 1:1.0.2k-16.el7_6.1                          
  pcre-devel.x86_64 0:8.32-17.el7                 postgresql-libs.x86_64 0:9.2.24-1.el7_5          python-psycopg2.x86_64 0:2.5.1-3.el7             rpcbind.x86_64 0:0.2.0-47.el7                                     
  zlib-devel.x86_64 0:1.2.7-18.el7               

Dependency Updated:
  krb5-libs.x86_64 0:1.15.1-37.el7_6                                   openssl.x86_64 1:1.0.2k-16.el7_6.1                                   openssl-libs.x86_64 1:1.0.2k-16.el7_6.1                                  

Complete!
You have new mail in /var/spool/mail/root
[root@node102.yinzhengjie.org.cn ~]# 
[root@node102.yinzhengjie.org.cn ~]# yum -y install cloudera-manager-agent
[root@node103.yinzhengjie.org.cn ~]# yum -y install cloudera-manager-agent
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.tuna.tsinghua.edu.cn
 * extras: mirror.bit.edu.cn
 * updates: mirror.bit.edu.cn
base                                                                                                                                                                                           | 3.6 kB  00:00:00     
cloudera-manager                                                                                                                                                                               | 2.9 kB  00:00:00     
extras                                                                                                                                                                                         | 3.4 kB  00:00:00     
updates                                                                                                                                                                                        | 3.4 kB  00:00:00     
cloudera-manager/primary_db                                                                                                                                                                    | 9.0 kB  00:00:00     
Resolving Dependencies
--> Running transaction check
---> Package cloudera-manager-agent.x86_64 0:5.16.1-1.cm5161.p0.1.el7 will be installed
cloudera-manager/filelists_db                                                                                                                                                                  | 105 kB  00:00:00     
--> Processing Dependency: cloudera-manager-daemons = 5.16.1 for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: python-psycopg2 for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
base/7/x86_64/filelists_db                                                                                                                                                                     | 7.1 MB  00:00:06     
--> Processing Dependency: portmap for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: openssl-devel for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
updates/7/x86_64/filelists_db                                                                                                                                                                  | 3.7 MB  00:00:02     
--> Processing Dependency: mod_ssl for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: httpd for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: MySQL-python for package: cloudera-manager-agent-5.16.1-1.cm5161.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.16.1-1.cm5161.p0.1.el7 will be installed
---> Package httpd.x86_64 0:2.4.6-89.el7.centos will be installed
--> Processing Dependency: httpd-tools = 2.4.6-89.el7.centos for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
---> Package mod_ssl.x86_64 1:2.4.6-89.el7.centos will be installed
---> Package openssl-devel.x86_64 1:1.0.2k-16.el7_6.1 will be installed
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-16.el7_6.1 for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
---> Package python-psycopg2.x86_64 0:2.5.1-3.el7 will be installed
--> Processing Dependency: libpq.so.5()(64bit) for package: python-psycopg2-2.5.1-3.el7.x86_64
---> Package rpcbind.x86_64 0:0.2.0-47.el7 will be installed
--> Processing Dependency: libtirpc >= 0.2.4-0.7 for package: rpcbind-0.2.0-47.el7.x86_64
--> Processing Dependency: libtirpc.so.1()(64bit) for package: rpcbind-0.2.0-47.el7.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-3.el7_4.1 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-89.el7.centos will be installed
---> Package krb5-devel.x86_64 0:1.15.1-37.el7_6 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-37.el7_6 for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: krb5-libs(x86-64) = 1.15.1-37.el7_6 for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
---> Package libtirpc.x86_64 0:0.2.4-0.15.el7 will be installed
---> Package openssl-libs.x86_64 1:1.0.2k-16.el7 will be updated
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-16.el7 for package: 1:openssl-1.0.2k-16.el7.x86_64
---> Package openssl-libs.x86_64 1:1.0.2k-16.el7_6.1 will be an update
---> Package postgresql-libs.x86_64 0:9.2.24-1.el7_5 will be installed
---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be installed
--> 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.15.1-34.el7 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-37.el7_6 will be an update
---> Package libcom_err-devel.x86_64 0:1.42.9-13.el7 will be installed
---> Package libkadm5.x86_64 0:1.15.1-37.el7_6 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.2k-16.el7 will be updated
---> Package openssl.x86_64 1:1.0.2k-16.el7_6.1 will be an update
--> Running transaction check
---> 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
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================================================================
 Package                                                   Arch                                    Version                                                    Repository                                         Size
======================================================================================================================================================================================================================
Installing:
 cloudera-manager-agent                                    x86_64                                  5.16.1-1.cm5161.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-3.el7_4.1                                            base                                              103 k
 apr-util                                                  x86_64                                  1.5.2-6.el7                                                base                                               92 k
 cloudera-manager-daemons                                  x86_64                                  5.16.1-1.cm5161.p0.1.el7                                   cloudera-manager                                  753 M
 httpd                                                     x86_64                                  2.4.6-89.el7.centos                                        updates                                           2.7 M
 httpd-tools                                               x86_64                                  2.4.6-89.el7.centos                                        updates                                            90 k
 keyutils-libs-devel                                       x86_64                                  1.5.8-3.el7                                                base                                               37 k
 krb5-devel                                                x86_64                                  1.15.1-37.el7_6                                            updates                                           271 k
 libcom_err-devel                                          x86_64                                  1.42.9-13.el7                                              base                                               31 k
 libkadm5                                                  x86_64                                  1.15.1-37.el7_6                                            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
 libtirpc                                                  x86_64                                  0.2.4-0.15.el7                                             base                                               89 k
 libverto-devel                                            x86_64                                  0.2.5-4.el7                                                base                                               12 k
 mod_ssl                                                   x86_64                                  1:2.4.6-89.el7.centos                                      updates                                           112 k
 openssl-devel                                             x86_64                                  1:1.0.2k-16.el7_6.1                                        updates                                           1.5 M
 pcre-devel                                                x86_64                                  8.32-17.el7                                                base                                              480 k
 postgresql-libs                                           x86_64                                  9.2.24-1.el7_5                                             base                                              234 k
 python-psycopg2                                           x86_64                                  2.5.1-3.el7                                                base                                              132 k
 rpcbind                                                   x86_64                                  0.2.0-47.el7                                               base                                               60 k
 zlib-devel                                                x86_64                                  1.2.7-18.el7                                               base                                               50 k
Updating for dependencies:
 krb5-libs                                                 x86_64                                  1.15.1-37.el7_6                                            updates                                           803 k
 openssl                                                   x86_64                                  1:1.0.2k-16.el7_6.1                                        updates                                           493 k
 openssl-libs                                              x86_64                                  1:1.0.2k-16.el7_6.1                                        updates                                           1.2 M

Transaction Summary
======================================================================================================================================================================================================================
Install  1 Package  (+21 Dependent packages)
Upgrade             (  3 Dependent packages)

Total download size: 772 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/25): apr-1.4.8-3.el7_4.1.x86_64.rpm                                                                                                                                                         | 103 kB  00:00:00     
(2/25): apr-util-1.5.2-6.el7.x86_64.rpm                                                                                                                                                        |  92 kB  00:00:00     
(3/25): MySQL-python-1.2.5-1.el7.x86_64.rpm                                                                                                                                                    |  90 kB  00:00:00     
warning: /var/cache/yum/x86_64/7/cloudera-manager/packages/cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID e8f86acd: NOKEY
Public key for cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm is not installed
(4/25): cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm                                                                                                                             | 9.4 MB  00:00:00     
(5/25): httpd-tools-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                             |  90 kB  00:00:00     
(6/25): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm                                                                                                                                             |  37 kB  00:00:00     
(7/25): libcom_err-devel-1.42.9-13.el7.x86_64.rpm                                                                                                                                              |  31 kB  00:00:00     
(8/25): libkadm5-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                    | 178 kB  00:00:00     
(9/25): krb5-libs-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                   | 803 kB  00:00:01     
(10/25): libsepol-devel-2.5-10.el7.x86_64.rpm                                                                                                                                                  |  77 kB  00:00:00     
(11/25): libtirpc-0.2.4-0.15.el7.x86_64.rpm                                                                                                                                                    |  89 kB  00:00:00     
(12/25): libverto-devel-0.2.5-4.el7.x86_64.rpm                                                                                                                                                 |  12 kB  00:00:00     
(13/25): mod_ssl-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                                | 112 kB  00:00:00     
(14/25): openssl-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                                  | 493 kB  00:00:01     
(15/25): krb5-devel-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                 | 271 kB  00:00:04     
(16/25): openssl-devel-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                            | 1.5 MB  00:00:02     
(17/25): openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                             | 1.2 MB  00:00:02     
(18/25): pcre-devel-8.32-17.el7.x86_64.rpm                                                                                                                                                     | 480 kB  00:00:01     
(19/25): postgresql-libs-9.2.24-1.el7_5.x86_64.rpm                                                                                                                                             | 234 kB  00:00:00     
(20/25): rpcbind-0.2.0-47.el7.x86_64.rpm                                                                                                                                                       |  60 kB  00:00:00     
(21/25): zlib-devel-1.2.7-18.el7.x86_64.rpm                                                                                                                                                    |  50 kB  00:00:00     
(22/25): python-psycopg2-2.5.1-3.el7.x86_64.rpm                                                                                                                                                | 132 kB  00:00:00     
(23/25): libselinux-devel-2.5-14.1.el7.x86_64.rpm                                                                                                                                              | 187 kB  00:00:09     
(24/25): cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm                                                                                                                          | 753 MB  00:00:16     
(25/25): httpd-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                                  | 2.7 MB  00:00:18     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                  41 MB/s | 772 MB  00:00:18     
Retrieving key from http://node107.yinzhengjie.org.cn/cm-5.16.1/RPM-GPG-KEY-cloudera
Importing GPG key 0xE8F86ACD:
 Userid     : "Yum Maintainer <webmaster@cloudera.com>"
 Fingerprint: 5f14 d39e f068 1aca 6f04 4a43 f90c 0d8f e8f8 6acd
 From       : http://node107.yinzhengjie.org.cn/cm-5.16.1/RPM-GPG-KEY-cloudera
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : 1:openssl-libs-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                           1/28 
  Updating   : krb5-libs-1.15.1-37.el7_6.x86_64                                                                                                                                                                  2/28 
  Installing : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                        3/28 
  Installing : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                       4/28 
  Updating   : 1:openssl-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                                5/28 
  Installing : httpd-tools-2.4.6-89.el7.centos.x86_64                                                                                                                                                            6/28 
  Installing : httpd-2.4.6-89.el7.centos.x86_64                                                                                                                                                                  7/28 
  Installing : 1:mod_ssl-2.4.6-89.el7.centos.x86_64                                                                                                                                                              8/28 
  Installing : libkadm5-1.15.1-37.el7_6.x86_64                                                                                                                                                                   9/28 
  Installing : postgresql-libs-9.2.24-1.el7_5.x86_64                                                                                                                                                            10/28 
  Installing : python-psycopg2-2.5.1-3.el7.x86_64                                                                                                                                                               11/28 
  Installing : libtirpc-0.2.4-0.15.el7.x86_64                                                                                                                                                                   12/28 
  Installing : rpcbind-0.2.0-47.el7.x86_64                                                                                                                                                                      13/28 
  Installing : MySQL-python-1.2.5-1.el7.x86_64                                                                                                                                                                  14/28 
  Installing : cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                         15/28 
  Installing : libsepol-devel-2.5-10.el7.x86_64                                                                                                                                                                 16/28 
  Installing : zlib-devel-1.2.7-18.el7.x86_64                                                                                                                                                                   17/28 
  Installing : libverto-devel-0.2.5-4.el7.x86_64                                                                                                                                                                18/28 
  Installing : libcom_err-devel-1.42.9-13.el7.x86_64                                                                                                                                                            19/28 
  Installing : pcre-devel-8.32-17.el7.x86_64                                                                                                                                                                    20/28 
  Installing : libselinux-devel-2.5-14.1.el7.x86_64                                                                                                                                                             21/28 
  Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                                                                                                           22/28 
  Installing : krb5-devel-1.15.1-37.el7_6.x86_64                                                                                                                                                                23/28 
  Installing : 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                         24/28 
  Installing : cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                           25/28 
  Cleanup    : 1:openssl-1.0.2k-16.el7.x86_64                                                                                                                                                                   26/28 
  Cleanup    : 1:openssl-libs-1.0.2k-16.el7.x86_64                                                                                                                                                              27/28 
  Cleanup    : krb5-libs-1.15.1-34.el7.x86_64                                                                                                                                                                   28/28 
  Verifying  : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                                                                                                            1/28 
  Verifying  : MySQL-python-1.2.5-1.el7.x86_64                                                                                                                                                                   2/28 
  Verifying  : pcre-devel-8.32-17.el7.x86_64                                                                                                                                                                     3/28 
  Verifying  : 1:mod_ssl-2.4.6-89.el7.centos.x86_64                                                                                                                                                              4/28 
  Verifying  : libcom_err-devel-1.42.9-13.el7.x86_64                                                                                                                                                             5/28 
  Verifying  : krb5-devel-1.15.1-37.el7_6.x86_64                                                                                                                                                                 6/28 
  Verifying  : httpd-tools-2.4.6-89.el7.centos.x86_64                                                                                                                                                            7/28 
  Verifying  : libverto-devel-0.2.5-4.el7.x86_64                                                                                                                                                                 8/28 
  Verifying  : zlib-devel-1.2.7-18.el7.x86_64                                                                                                                                                                    9/28 
  Verifying  : krb5-libs-1.15.1-37.el7_6.x86_64                                                                                                                                                                 10/28 
  Verifying  : python-psycopg2-2.5.1-3.el7.x86_64                                                                                                                                                               11/28 
  Verifying  : cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                           12/28 
  Verifying  : 1:openssl-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                               13/28 
  Verifying  : 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                         14/28 
  Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                      15/28 
  Verifying  : rpcbind-0.2.0-47.el7.x86_64                                                                                                                                                                      16/28 
  Verifying  : 1:openssl-libs-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                          17/28 
  Verifying  : httpd-2.4.6-89.el7.centos.x86_64                                                                                                                                                                 18/28 
  Verifying  : libsepol-devel-2.5-10.el7.x86_64                                                                                                                                                                 19/28 
  Verifying  : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                       20/28 
  Verifying  : cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                         21/28 
  Verifying  : libkadm5-1.15.1-37.el7_6.x86_64                                                                                                                                                                  22/28 
  Verifying  : libselinux-devel-2.5-14.1.el7.x86_64                                                                                                                                                             23/28 
  Verifying  : postgresql-libs-9.2.24-1.el7_5.x86_64                                                                                                                                                            24/28 
  Verifying  : libtirpc-0.2.4-0.15.el7.x86_64                                                                                                                                                                   25/28 
  Verifying  : 1:openssl-libs-1.0.2k-16.el7.x86_64                                                                                                                                                              26/28 
  Verifying  : 1:openssl-1.0.2k-16.el7.x86_64                                                                                                                                                                   27/28 
  Verifying  : krb5-libs-1.15.1-34.el7.x86_64                                                                                                                                                                   28/28 

Installed:
  cloudera-manager-agent.x86_64 0:5.16.1-1.cm5161.p0.1.el7                                                                                                                                                            

Dependency Installed:
  MySQL-python.x86_64 0:1.2.5-1.el7               apr.x86_64 0:1.4.8-3.el7_4.1                     apr-util.x86_64 0:1.5.2-6.el7                    cloudera-manager-daemons.x86_64 0:5.16.1-1.cm5161.p0.1.el7        
  httpd.x86_64 0:2.4.6-89.el7.centos              httpd-tools.x86_64 0:2.4.6-89.el7.centos         keyutils-libs-devel.x86_64 0:1.5.8-3.el7         krb5-devel.x86_64 0:1.15.1-37.el7_6                               
  libcom_err-devel.x86_64 0:1.42.9-13.el7         libkadm5.x86_64 0:1.15.1-37.el7_6                libselinux-devel.x86_64 0:2.5-14.1.el7           libsepol-devel.x86_64 0:2.5-10.el7                                
  libtirpc.x86_64 0:0.2.4-0.15.el7                libverto-devel.x86_64 0:0.2.5-4.el7              mod_ssl.x86_64 1:2.4.6-89.el7.centos             openssl-devel.x86_64 1:1.0.2k-16.el7_6.1                          
  pcre-devel.x86_64 0:8.32-17.el7                 postgresql-libs.x86_64 0:9.2.24-1.el7_5          python-psycopg2.x86_64 0:2.5.1-3.el7             rpcbind.x86_64 0:0.2.0-47.el7                                     
  zlib-devel.x86_64 0:1.2.7-18.el7               

Dependency Updated:
  krb5-libs.x86_64 0:1.15.1-37.el7_6                                   openssl.x86_64 1:1.0.2k-16.el7_6.1                                   openssl-libs.x86_64 1:1.0.2k-16.el7_6.1                                  

Complete!
You have mail in /var/spool/mail/root
[root@node103.yinzhengjie.org.cn ~]# 
[root@node103.yinzhengjie.org.cn ~]# yum -y install cloudera-manager-agent
[root@node104.yinzhengjie.org.cn ~]# yum -y install cloudera-manager-agent
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.tuna.tsinghua.edu.cn
 * extras: mirror.bit.edu.cn
 * updates: mirror.bit.edu.cn
base                                                                                                                                                                                           | 3.6 kB  00:00:00     
cloudera-manager                                                                                                                                                                               | 2.9 kB  00:00:00     
extras                                                                                                                                                                                         | 3.4 kB  00:00:00     
updates                                                                                                                                                                                        | 3.4 kB  00:00:00     
(1/2): cloudera-manager/primary_db                                                                                                                                                             | 9.0 kB  00:00:00     
(2/2): updates/7/x86_64/primary_db                                                                                                                                                             | 5.7 MB  00:00:04     
Resolving Dependencies
--> Running transaction check
---> Package cloudera-manager-agent.x86_64 0:5.16.1-1.cm5161.p0.1.el7 will be installed
cloudera-manager/filelists_db                                                                                                                                                                  | 105 kB  00:00:00     
--> Processing Dependency: cloudera-manager-daemons = 5.16.1 for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: python-psycopg2 for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
base/7/x86_64/filelists_db                                                                                                                                                                     | 7.1 MB  00:00:05     
--> Processing Dependency: psmisc for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: portmap for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: perl for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
updates/7/x86_64/filelists_db                                                                                                                                                                  | 4.0 MB  00:00:05     
--> Processing Dependency: openssl-devel for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: mod_ssl for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: libxslt for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: httpd for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: fuse-libs for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: fuse for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: cyrus-sasl-plain for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: cyrus-sasl-gssapi for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: bind-utils for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: MySQL-python for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: /lib/lsb/init-functions for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
extras/7/x86_64/filelists_db                                                                                                                                                                   | 243 kB  00:00:00     
--> Running transaction check
---> Package MySQL-python.x86_64 0:1.2.5-1.el7 will be installed
---> Package bind-utils.x86_64 32:9.9.4-74.el7_6.1 will be installed
--> Processing Dependency: bind-libs = 32:9.9.4-74.el7_6.1 for package: 32:bind-utils-9.9.4-74.el7_6.1.x86_64
--> Processing Dependency: liblwres.so.90()(64bit) for package: 32:bind-utils-9.9.4-74.el7_6.1.x86_64
--> Processing Dependency: libisccfg.so.90()(64bit) for package: 32:bind-utils-9.9.4-74.el7_6.1.x86_64
--> Processing Dependency: libisccc.so.90()(64bit) for package: 32:bind-utils-9.9.4-74.el7_6.1.x86_64
--> Processing Dependency: libisc.so.95()(64bit) for package: 32:bind-utils-9.9.4-74.el7_6.1.x86_64
--> Processing Dependency: libdns.so.100()(64bit) for package: 32:bind-utils-9.9.4-74.el7_6.1.x86_64
--> Processing Dependency: libbind9.so.90()(64bit) for package: 32:bind-utils-9.9.4-74.el7_6.1.x86_64
---> Package cloudera-manager-daemons.x86_64 0:5.16.1-1.cm5161.p0.1.el7 will be installed
---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-23.el7 will be installed
---> Package cyrus-sasl-plain.x86_64 0:2.1.26-23.el7 will be installed
---> Package fuse.x86_64 0:2.9.2-11.el7 will be installed
---> Package fuse-libs.x86_64 0:2.9.2-11.el7 will be installed
---> Package httpd.x86_64 0:2.4.6-89.el7.centos will be installed
--> Processing Dependency: httpd-tools = 2.4.6-89.el7.centos for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
---> Package libxslt.x86_64 0:1.1.28-5.el7 will be installed
---> Package mod_ssl.x86_64 1:2.4.6-89.el7.centos will be installed
---> Package openssl-devel.x86_64 1:1.0.2k-16.el7_6.1 will be installed
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-16.el7_6.1 for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
---> Package perl.x86_64 4:5.16.3-294.el7_6 will be installed
--> Processing Dependency: perl-libs = 4:5.16.3-294.el7_6 for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Socket) >= 1.3 for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl-macros for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl-libs for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(threads::shared) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(threads) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(constant) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Time::Local) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Time::HiRes) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Storable) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Socket) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Scalar::Util) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Pod::Simple::XHTML) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Pod::Simple::Search) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Getopt::Long) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Filter::Util::Call) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(File::Temp) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(File::Spec::Unix) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(File::Spec::Functions) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(File::Spec) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(File::Path) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Exporter) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Cwd) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-294.el7_6.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.16.3-294.el7_6.x86_64
---> Package psmisc.x86_64 0:22.20-15.el7 will be installed
---> Package python-psycopg2.x86_64 0:2.5.1-3.el7 will be installed
--> Processing Dependency: libpq.so.5()(64bit) for package: python-psycopg2-2.5.1-3.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/time for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/patch 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
--> Processing Dependency: /usr/bin/lpr for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/lp for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/bc for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/batch for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/at for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /bin/mailx for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /bin/ed for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
---> Package rpcbind.x86_64 0:0.2.0-47.el7 will be installed
--> Processing Dependency: libtirpc >= 0.2.4-0.7 for package: rpcbind-0.2.0-47.el7.x86_64
--> Processing Dependency: libtirpc.so.1()(64bit) for package: rpcbind-0.2.0-47.el7.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-3.el7_4.1 will be installed
---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
---> Package at.x86_64 0:3.1.13-24.el7 will be installed
---> Package bc.x86_64 0:1.06.95-13.el7 will be installed
---> Package bind-libs.x86_64 32:9.9.4-74.el7_6.1 will be installed
--> Processing Dependency: bind-license = 32:9.9.4-74.el7_6.1 for package: 32:bind-libs-9.9.4-74.el7_6.1.x86_64
---> Package cups-client.x86_64 1:1.6.3-35.el7 will be installed
--> Processing Dependency: cups-libs(x86-64) = 1:1.6.3-35.el7 for package: 1:cups-client-1.6.3-35.el7.x86_64
--> Processing Dependency: libcups.so.2()(64bit) for package: 1:cups-client-1.6.3-35.el7.x86_64
--> Processing Dependency: libavahi-common.so.3()(64bit) for package: 1:cups-client-1.6.3-35.el7.x86_64
--> Processing Dependency: libavahi-client.so.3()(64bit) for package: 1:cups-client-1.6.3-35.el7.x86_64
---> Package ed.x86_64 0:1.9-4.el7 will be installed
---> Package httpd-tools.x86_64 0:2.4.6-89.el7.centos will be installed
---> Package krb5-devel.x86_64 0:1.15.1-37.el7_6 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-37.el7_6 for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: krb5-libs(x86-64) = 1.15.1-37.el7_6 for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
---> Package libtirpc.x86_64 0:0.2.4-0.15.el7 will be installed
---> 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 mailx.x86_64 0:12.5-19.el7 will be installed
---> Package openssl-libs.x86_64 1:1.0.2k-16.el7 will be updated
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-16.el7 for package: 1:openssl-1.0.2k-16.el7.x86_64
---> Package openssl-libs.x86_64 1:1.0.2k-16.el7_6.1 will be an update
---> Package patch.x86_64 0:2.7.1-10.el7_5 will be installed
---> Package perl-Carp.noarch 0:1.26-244.el7 will be installed
---> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed
---> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed
---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed
---> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed
---> Package perl-Getopt-Long.noarch 0:2.40-3.el7 will be installed
--> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: perl-Getopt-Long-2.40-3.el7.noarch
--> Processing Dependency: perl(Text::ParseWords) for package: perl-Getopt-Long-2.40-3.el7.noarch
---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed
---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed
--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
--> Processing Dependency: perl(Encode) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed
---> Package perl-Socket.x86_64 0:2.010-4.el7 will be installed
---> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed
---> Package perl-Time-HiRes.x86_64 4:1.9725-3.el7 will be installed
---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed
---> Package perl-constant.noarch 0:1.27-2.el7 will be installed
---> Package perl-libs.x86_64 4:5.16.3-294.el7_6 will be installed
---> Package perl-macros.x86_64 4:5.16.3-294.el7_6 will be installed
---> Package perl-threads.x86_64 0:1.87-4.el7 will be installed
---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed
---> Package postgresql-libs.x86_64 0:9.2.24-1.el7_5 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 time.x86_64 0:1.7-45.el7 will be installed
---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be installed
--> Running transaction check
---> Package avahi-libs.x86_64 0:0.6.31-19.el7 will be installed
---> Package bind-license.noarch 32:9.9.4-72.el7 will be updated
--> Processing Dependency: bind-license = 32:9.9.4-72.el7 for package: 32:bind-libs-lite-9.9.4-72.el7.x86_64
---> Package bind-license.noarch 32:9.9.4-74.el7_6.1 will be an update
---> Package cups-libs.x86_64 1:1.6.3-35.el7 will be installed
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package krb5-libs.x86_64 0:1.15.1-34.el7 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-37.el7_6 will be an update
---> Package libcom_err-devel.x86_64 0:1.42.9-13.el7 will be installed
---> Package libkadm5.x86_64 0:1.15.1-37.el7_6 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.2k-16.el7 will be updated
---> Package openssl.x86_64 1:1.0.2k-16.el7_6.1 will be an update
---> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed
---> Package perl-Pod-Escapes.noarch 1:1.04-294.el7_6 will be installed
---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed
--> Processing Dependency: perl(Pod::Text) >= 3.15 for package: perl-Pod-Usage-1.63-3.el7.noarch
--> Processing Dependency: perl-Pod-Perldoc for package: perl-Pod-Usage-1.63-3.el7.noarch
---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed
--> Running transaction check
---> Package bind-libs-lite.x86_64 32:9.9.4-72.el7 will be updated
---> Package bind-libs-lite.x86_64 32:9.9.4-74.el7_6.1 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
---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed
--> Processing Dependency: perl(parent) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
--> Processing Dependency: perl(HTTP::Tiny) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed
--> Running transaction check
---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed
---> Package perl-parent.noarch 1:0.225-244.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================================================================
 Package                                                    Arch                                   Version                                                     Repository                                        Size
======================================================================================================================================================================================================================
Installing:
 cloudera-manager-agent                                     x86_64                                 5.16.1-1.cm5161.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-3.el7_4.1                                             base                                             103 k
 apr-util                                                   x86_64                                 1.5.2-6.el7                                                 base                                              92 k
 at                                                         x86_64                                 3.1.13-24.el7                                               base                                              51 k
 avahi-libs                                                 x86_64                                 0.6.31-19.el7                                               base                                              61 k
 bc                                                         x86_64                                 1.06.95-13.el7                                              base                                             115 k
 bind-libs                                                  x86_64                                 32:9.9.4-74.el7_6.1                                         updates                                          1.0 M
 bind-utils                                                 x86_64                                 32:9.9.4-74.el7_6.1                                         updates                                          206 k
 cloudera-manager-daemons                                   x86_64                                 5.16.1-1.cm5161.p0.1.el7                                    cloudera-manager                                 753 M
 cups-client                                                x86_64                                 1:1.6.3-35.el7                                              base                                             151 k
 cups-libs                                                  x86_64                                 1:1.6.3-35.el7                                              base                                             357 k
 cyrus-sasl-gssapi                                          x86_64                                 2.1.26-23.el7                                               base                                              41 k
 cyrus-sasl-plain                                           x86_64                                 2.1.26-23.el7                                               base                                              39 k
 ed                                                         x86_64                                 1.9-4.el7                                                   base                                              72 k
 fuse                                                       x86_64                                 2.9.2-11.el7                                                base                                              86 k
 fuse-libs                                                  x86_64                                 2.9.2-11.el7                                                base                                              93 k
 httpd                                                      x86_64                                 2.4.6-89.el7.centos                                         updates                                          2.7 M
 httpd-tools                                                x86_64                                 2.4.6-89.el7.centos                                         updates                                           90 k
 keyutils-libs-devel                                        x86_64                                 1.5.8-3.el7                                                 base                                              37 k
 krb5-devel                                                 x86_64                                 1.15.1-37.el7_6                                             updates                                          271 k
 libcom_err-devel                                           x86_64                                 1.42.9-13.el7                                               base                                              31 k
 libkadm5                                                   x86_64                                 1.15.1-37.el7_6                                             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
 libtirpc                                                   x86_64                                 0.2.4-0.15.el7                                              base                                              89 k
 libverto-devel                                             x86_64                                 0.2.5-4.el7                                                 base                                              12 k
 libxslt                                                    x86_64                                 1.1.28-5.el7                                                base                                             242 k
 m4                                                         x86_64                                 1.4.16-10.el7                                               base                                             256 k
 mailcap                                                    noarch                                 2.1.41-2.el7                                                base                                              31 k
 mailx                                                      x86_64                                 12.5-19.el7                                                 base                                             245 k
 mod_ssl                                                    x86_64                                 1:2.4.6-89.el7.centos                                       updates                                          112 k
 openssl-devel                                              x86_64                                 1:1.0.2k-16.el7_6.1                                         updates                                          1.5 M
 patch                                                      x86_64                                 2.7.1-10.el7_5                                              base                                             110 k
 pcre-devel                                                 x86_64                                 8.32-17.el7                                                 base                                             480 k
 perl                                                       x86_64                                 4:5.16.3-294.el7_6                                          updates                                          8.0 M
 perl-Carp                                                  noarch                                 1.26-244.el7                                                base                                              19 k
 perl-Encode                                                x86_64                                 2.51-7.el7                                                  base                                             1.5 M
 perl-Exporter                                              noarch                                 5.68-3.el7                                                  base                                              28 k
 perl-File-Path                                             noarch                                 2.09-2.el7                                                  base                                              26 k
 perl-File-Temp                                             noarch                                 0.23.01-3.el7                                               base                                              56 k
 perl-Filter                                                x86_64                                 1.49-3.el7                                                  base                                              76 k
 perl-Getopt-Long                                           noarch                                 2.40-3.el7                                                  base                                              56 k
 perl-HTTP-Tiny                                             noarch                                 0.033-3.el7                                                 base                                              38 k
 perl-PathTools                                             x86_64                                 3.40-5.el7                                                  base                                              82 k
 perl-Pod-Escapes                                           noarch                                 1:1.04-294.el7_6                                            updates                                           51 k
 perl-Pod-Perldoc                                           noarch                                 3.20-4.el7                                                  base                                              87 k
 perl-Pod-Simple                                            noarch                                 1:3.28-4.el7                                                base                                             216 k
 perl-Pod-Usage                                             noarch                                 1.63-3.el7                                                  base                                              27 k
 perl-Scalar-List-Utils                                     x86_64                                 1.27-248.el7                                                base                                              36 k
 perl-Socket                                                x86_64                                 2.010-4.el7                                                 base                                              49 k
 perl-Storable                                              x86_64                                 2.45-3.el7                                                  base                                              77 k
 perl-Text-ParseWords                                       noarch                                 3.29-4.el7                                                  base                                              14 k
 perl-Time-HiRes                                            x86_64                                 4:1.9725-3.el7                                              base                                              45 k
 perl-Time-Local                                            noarch                                 1.2300-2.el7                                                base                                              24 k
 perl-constant                                              noarch                                 1.27-2.el7                                                  base                                              19 k
 perl-libs                                                  x86_64                                 4:5.16.3-294.el7_6                                          updates                                          688 k
 perl-macros                                                x86_64                                 4:5.16.3-294.el7_6                                          updates                                           44 k
 perl-parent                                                noarch                                 1:0.225-244.el7                                             base                                              12 k
 perl-podlators                                             noarch                                 2.5.1-3.el7                                                 base                                             112 k
 perl-threads                                               x86_64                                 1.87-4.el7                                                  base                                              49 k
 perl-threads-shared                                        x86_64                                 1.43-6.el7                                                  base                                              39 k
 postgresql-libs                                            x86_64                                 9.2.24-1.el7_5                                              base                                             234 k
 psmisc                                                     x86_64                                 22.20-15.el7                                                base                                             141 k
 python-psycopg2                                            x86_64                                 2.5.1-3.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
 rpcbind                                                    x86_64                                 0.2.0-47.el7                                                base                                              60 k
 spax                                                       x86_64                                 1.5.2-13.el7                                                base                                             260 k
 time                                                       x86_64                                 1.7-45.el7                                                  base                                              30 k
 zlib-devel                                                 x86_64                                 1.2.7-18.el7                                                base                                              50 k
Updating for dependencies:
 bind-libs-lite                                             x86_64                                 32:9.9.4-74.el7_6.1                                         updates                                          741 k
 bind-license                                               noarch                                 32:9.9.4-74.el7_6.1                                         updates                                           87 k
 krb5-libs                                                  x86_64                                 1.15.1-37.el7_6                                             updates                                          803 k
 openssl                                                    x86_64                                 1:1.0.2k-16.el7_6.1                                         updates                                          493 k
 openssl-libs                                               x86_64                                 1:1.0.2k-16.el7_6.1                                         updates                                          1.2 M

Transaction Summary
======================================================================================================================================================================================================================
Install  1 Package  (+70 Dependent packages)
Upgrade             (  5 Dependent packages)

Total download size: 787 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/76): MySQL-python-1.2.5-1.el7.x86_64.rpm                                                                                                                                                    |  90 kB  00:00:00     
(2/76): bc-1.06.95-13.el7.x86_64.rpm                                                                                                                                                           | 115 kB  00:00:00     
(3/76): apr-1.4.8-3.el7_4.1.x86_64.rpm                                                                                                                                                         | 103 kB  00:00:00     
(4/76): at-3.1.13-24.el7.x86_64.rpm                                                                                                                                                            |  51 kB  00:00:00     
(5/76): avahi-libs-0.6.31-19.el7.x86_64.rpm                                                                                                                                                    |  61 kB  00:00:00     
(6/76): bind-libs-9.9.4-74.el7_6.1.x86_64.rpm                                                                                                                                                  | 1.0 MB  00:00:00     
bind-libs-lite-9.9.4-74.el7_6. FAILED                                          
http://mirrors.aliyun.com/centos/7.6.1810/updates/x86_64/Packages/bind-libs-lite-9.9.4-74.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found                                 ]  0.0 B/s | 308 kB  --:--:-- ETA 
Trying other mirror.
To address this issue please refer to the below wiki article 

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

(7/76): bind-utils-9.9.4-74.el7_6.1.x86_64.rpm                                                                                                                                                 | 206 kB  00:00:00     
(8/76): cups-client-1.6.3-35.el7.x86_64.rpm                                                                                                                                                    | 151 kB  00:00:00     
warning: /var/cache/yum/x86_64/7/cloudera-manager/packages/cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID e8f86acd: NOKEY
Public key for cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm is not installed
(9/76): cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm                                                                                                                             | 9.4 MB  00:00:00     
(10/76): cyrus-sasl-gssapi-2.1.26-23.el7.x86_64.rpm                                                                                                                                            |  41 kB  00:00:00     
(11/76): cups-libs-1.6.3-35.el7.x86_64.rpm                                                                                                                                                     | 357 kB  00:00:00     
(12/76): cyrus-sasl-plain-2.1.26-23.el7.x86_64.rpm                                                                                                                                             |  39 kB  00:00:00     
(13/76): fuse-2.9.2-11.el7.x86_64.rpm                                                                                                                                                          |  86 kB  00:00:00     
(14/76): fuse-libs-2.9.2-11.el7.x86_64.rpm                                                                                                                                                     |  93 kB  00:00:00     
(15/76): httpd-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                                  | 2.7 MB  00:00:01     
bind-license-9.9.4-74.el7_6.1. FAILED                                                        17% [==============                                                                    ]  39 MB/s | 139 MB  00:00:16 ETA 
http://mirrors.nwsuaf.edu.cn/centos/7.6.1810/updates/x86_64/Packages/bind-license-9.9.4-74.el7_6.1.noarch.rpm: [Errno 14] HTTPS Error 404 - Not Found                               ]  39 MB/s | 139 MB  00:00:16 ETA 
Trying other mirror.
(16/76): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm                                                                                                                                            |  37 kB  00:00:00     
(17/76): httpd-tools-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                            |  90 kB  00:00:00     
(18/76): krb5-devel-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                 | 271 kB  00:00:00     
(19/76): libcom_err-devel-1.42.9-13.el7.x86_64.rpm                                                                                                                                             |  31 kB  00:00:00     
(20/76): ed-1.9-4.el7.x86_64.rpm                                                                                                                                                               |  72 kB  00:00:01     
(21/76): libkadm5-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                   | 178 kB  00:00:00     
(22/76): libselinux-devel-2.5-14.1.el7.x86_64.rpm                                                                                                                                              | 187 kB  00:00:00     
(23/76): libtirpc-0.2.4-0.15.el7.x86_64.rpm                                                                                                                                                    |  89 kB  00:00:00     
(24/76): libsepol-devel-2.5-10.el7.x86_64.rpm                                                                                                                                                  |  77 kB  00:00:00     
(25/76): libverto-devel-0.2.5-4.el7.x86_64.rpm                                                                                                                                                 |  12 kB  00:00:00     
(26/76): m4-1.4.16-10.el7.x86_64.rpm                                                                                                                                                           | 256 kB  00:00:00     
(27/76): mailcap-2.1.41-2.el7.noarch.rpm                                                                                                                                                       |  31 kB  00:00:00     
(28/76): mailx-12.5-19.el7.x86_64.rpm                                                                                                                                                          | 245 kB  00:00:00     
(29/76): mod_ssl-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                                | 112 kB  00:00:00     
(30/76): openssl-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                                  | 493 kB  00:00:00     
(31/76): openssl-devel-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                            | 1.5 MB  00:00:00     
(32/76): openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                             | 1.2 MB  00:00:00     
(33/76): krb5-libs-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                  | 803 kB  00:00:02     
(34/76): libxslt-1.1.28-5.el7.x86_64.rpm                                                                                                                                                       | 242 kB  00:00:02     
(35/76): apr-util-1.5.2-6.el7.x86_64.rpm                                                                                                                                                       |  92 kB  00:00:05     
(36/76): pcre-devel-8.32-17.el7.x86_64.rpm                                                                                                                                                     | 480 kB  00:00:00     
(37/76): perl-Carp-1.26-244.el7.noarch.rpm                                                                                                                                                     |  19 kB  00:00:00     
(38/76): perl-Exporter-5.68-3.el7.noarch.rpm                                                                                                                                                   |  28 kB  00:00:00     
(39/76): patch-2.7.1-10.el7_5.x86_64.rpm                                                                                                                                                       | 110 kB  00:00:02     
(40/76): perl-File-Path-2.09-2.el7.noarch.rpm                                                                                                                                                  |  26 kB  00:00:01     
(41/76): perl-Encode-2.51-7.el7.x86_64.rpm                                                                                                                                                     | 1.5 MB  00:00:01     
(42/76): perl-File-Temp-0.23.01-3.el7.noarch.rpm                                                                                                                                               |  56 kB  00:00:00     
(43/76): perl-HTTP-Tiny-0.033-3.el7.noarch.rpm                                                                                                                                                 |  38 kB  00:00:00     
(44/76): perl-Getopt-Long-2.40-3.el7.noarch.rpm                                                                                                                                                |  56 kB  00:00:00     
(45/76): perl-Filter-1.49-3.el7.x86_64.rpm                                                                                                                                                     |  76 kB  00:00:00     
(46/76): perl-Pod-Escapes-1.04-294.el7_6.noarch.rpm                                                                                                                                            |  51 kB  00:00:00     
(47/76): perl-Pod-Perldoc-3.20-4.el7.noarch.rpm                                                                                                                                                |  87 kB  00:00:00     
(48/76): perl-Pod-Simple-3.28-4.el7.noarch.rpm                                                                                                                                                 | 216 kB  00:00:00     
(49/76): perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm                                                                                                                                        |  36 kB  00:00:00     
(50/76): perl-Socket-2.010-4.el7.x86_64.rpm                                                                                                                                                    |  49 kB  00:00:00     
(51/76): perl-Pod-Usage-1.63-3.el7.noarch.rpm                                                                                                                                                  |  27 kB  00:00:00     
(52/76): perl-Text-ParseWords-3.29-4.el7.noarch.rpm                                                                                                                                            |  14 kB  00:00:00     
(53/76): perl-Time-HiRes-1.9725-3.el7.x86_64.rpm                                                                                                                                               |  45 kB  00:00:00     
(54/76): perl-Time-Local-1.2300-2.el7.noarch.rpm                                                                                                                                               |  24 kB  00:00:00     
(55/76): perl-Storable-2.45-3.el7.x86_64.rpm                                                                                                                                                   |  77 kB  00:00:00     
(56/76): perl-constant-1.27-2.el7.noarch.rpm                                                                                                                                                   |  19 kB  00:00:00     
(57/76): perl-macros-5.16.3-294.el7_6.x86_64.rpm                                                                                                                                               |  44 kB  00:00:00     
(58/76): perl-PathTools-3.40-5.el7.x86_64.rpm                                                                                                                                                  |  82 kB  00:00:02     
(59/76): perl-parent-0.225-244.el7.noarch.rpm                                                                                                                                                  |  12 kB  00:00:00     
(60/76): perl-5.16.3-294.el7_6.x86_64.rpm                                                                                                                                                      | 8.0 MB  00:00:04     
(61/76): perl-threads-1.87-4.el7.x86_64.rpm                                                                                                                                                    |  49 kB  00:00:00     
(62/76): perl-threads-shared-1.43-6.el7.x86_64.rpm                                                                                                                                             |  39 kB  00:00:00     
(63/76): perl-libs-5.16.3-294.el7_6.x86_64.rpm                                                                                                                                                 | 688 kB  00:00:01     
(64/76): psmisc-22.20-15.el7.x86_64.rpm                                                                                                                                                        | 141 kB  00:00:00     
(65/76): redhat-lsb-core-4.1-27.el7.centos.1.x86_64.rpm                                                                                                                                        |  38 kB  00:00:00     
(66/76): postgresql-libs-9.2.24-1.el7_5.x86_64.rpm                                                                                                                                             | 234 kB  00:00:00     
(67/76): python-psycopg2-2.5.1-3.el7.x86_64.rpm                                                                                                                                                | 132 kB  00:00:00     
(68/76): perl-podlators-2.5.1-3.el7.noarch.rpm                                                                                                                                                 | 112 kB  00:00:01     
(69/76): rpcbind-0.2.0-47.el7.x86_64.rpm                                                                                                                                                       |  60 kB  00:00:00     
(70/76): time-1.7-45.el7.x86_64.rpm                                                                                                                                                            |  30 kB  00:00:00     
(71/76): spax-1.5.2-13.el7.x86_64.rpm                                                                                                                                                          | 260 kB  00:00:00     
(72/76): zlib-devel-1.2.7-18.el7.x86_64.rpm                                                                                                                                                    |  50 kB  00:00:00     
(73/76): redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64.rpm                                                                                                                             |  15 kB  00:00:00     
(74/76): bind-libs-lite-9.9.4-74.el7_6.1.x86_64.rpm                                                                                                                                            | 741 kB  00:00:00     
(75/76): bind-license-9.9.4-74.el7_6.1.noarch.rpm                                                                                                                                              |  87 kB  00:00:01     
(76/76): cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm                                                                                                                          | 753 MB  00:00:17     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                  44 MB/s | 787 MB  00:00:17     
Retrieving key from http://node107.yinzhengjie.org.cn/cm-5.16.1/RPM-GPG-KEY-cloudera
Importing GPG key 0xE8F86ACD:
 Userid     : "Yum Maintainer <webmaster@cloudera.com>"
 Fingerprint: 5f14 d39e f068 1aca 6f04 4a43 f90c 0d8f e8f8 6acd
 From       : http://node107.yinzhengjie.org.cn/cm-5.16.1/RPM-GPG-KEY-cloudera
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : 1:openssl-libs-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                           1/81 
  Updating   : krb5-libs-1.15.1-37.el7_6.x86_64                                                                                                                                                                  2/81 
  Installing : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                        3/81 
  Installing : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                       4/81 
  Updating   : 1:openssl-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                                5/81 
  Installing : psmisc-22.20-15.el7.x86_64                                                                                                                                                                        6/81 
  Installing : avahi-libs-0.6.31-19.el7.x86_64                                                                                                                                                                   7/81 
  Updating   : 32:bind-license-9.9.4-74.el7_6.1.noarch                                                                                                                                                           8/81 
  Installing : 32:bind-libs-9.9.4-74.el7_6.1.x86_64                                                                                                                                                              9/81 
  Installing : 32:bind-utils-9.9.4-74.el7_6.1.x86_64                                                                                                                                                            10/81 
  Installing : 1:cups-libs-1.6.3-35.el7.x86_64                                                                                                                                                                  11/81 
  Installing : 1:cups-client-1.6.3-35.el7.x86_64                                                                                                                                                                12/81 
  Installing : httpd-tools-2.4.6-89.el7.centos.x86_64                                                                                                                                                           13/81 
  Installing : cyrus-sasl-plain-2.1.26-23.el7.x86_64                                                                                                                                                            14/81 
  Installing : cyrus-sasl-gssapi-2.1.26-23.el7.x86_64                                                                                                                                                           15/81 
  Installing : mailx-12.5-19.el7.x86_64                                                                                                                                                                         16/81 
  Installing : libkadm5-1.15.1-37.el7_6.x86_64                                                                                                                                                                  17/81 
  Installing : postgresql-libs-9.2.24-1.el7_5.x86_64                                                                                                                                                            18/81 
  Installing : python-psycopg2-2.5.1-3.el7.x86_64                                                                                                                                                               19/81 
  Installing : libtirpc-0.2.4-0.15.el7.x86_64                                                                                                                                                                   20/81 
  Installing : rpcbind-0.2.0-47.el7.x86_64                                                                                                                                                                      21/81 
  Installing : MySQL-python-1.2.5-1.el7.x86_64                                                                                                                                                                  22/81 
  Installing : 1:perl-parent-0.225-244.el7.noarch                                                                                                                                                               23/81 
  Installing : perl-HTTP-Tiny-0.033-3.el7.noarch                                                                                                                                                                24/81 
  Installing : perl-podlators-2.5.1-3.el7.noarch                                                                                                                                                                25/81 
  Installing : perl-Pod-Perldoc-3.20-4.el7.noarch                                                                                                                                                               26/81 
  Installing : 1:perl-Pod-Escapes-1.04-294.el7_6.noarch                                                                                                                                                         27/81 
  Installing : perl-Encode-2.51-7.el7.x86_64                                                                                                                                                                    28/81 
  Installing : perl-Text-ParseWords-3.29-4.el7.noarch                                                                                                                                                           29/81 
  Installing : perl-Pod-Usage-1.63-3.el7.noarch                                                                                                                                                                 30/81 
  Installing : 4:perl-libs-5.16.3-294.el7_6.x86_64                                                                                                                                                              31/81 
  Installing : 4:perl-macros-5.16.3-294.el7_6.x86_64                                                                                                                                                            32/81 
  Installing : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                                                                                                                                                            33/81 
  Installing : perl-Exporter-5.68-3.el7.noarch                                                                                                                                                                  34/81 
  Installing : perl-constant-1.27-2.el7.noarch                                                                                                                                                                  35/81 
  Installing : perl-Carp-1.26-244.el7.noarch                                                                                                                                                                    36/81 
  Installing : perl-Storable-2.45-3.el7.x86_64                                                                                                                                                                  37/81 
  Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch                                                                                                                                                              38/81 
  Installing : perl-PathTools-3.40-5.el7.x86_64                                                                                                                                                                 39/81 
  Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64                                                                                                                                                       40/81 
  Installing : perl-File-Temp-0.23.01-3.el7.noarch                                                                                                                                                              41/81 
  Installing : perl-File-Path-2.09-2.el7.noarch                                                                                                                                                                 42/81 
  Installing : perl-threads-shared-1.43-6.el7.x86_64                                                                                                                                                            43/81 
  Installing : perl-threads-1.87-4.el7.x86_64                                                                                                                                                                   44/81 
  Installing : perl-Filter-1.49-3.el7.x86_64                                                                                                                                                                    45/81 
  Installing : perl-Socket-2.010-4.el7.x86_64                                                                                                                                                                   46/81 
  Installing : perl-Time-Local-1.2300-2.el7.noarch                                                                                                                                                              47/81 
  Installing : perl-Getopt-Long-2.40-3.el7.noarch                                                                                                                                                               48/81 
  Installing : 4:perl-5.16.3-294.el7_6.x86_64                                                                                                                                                                   49/81 
  Installing : cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                         50/81 
  Installing : patch-2.7.1-10.el7_5.x86_64                                                                                                                                                                      51/81 
  Installing : ed-1.9-4.el7.x86_64                                                                                                                                                                              52/81 
  Installing : spax-1.5.2-13.el7.x86_64                                                                                                                                                                         53/81 
  Installing : time-1.7-45.el7.x86_64                                                                                                                                                                           54/81 
  Installing : pcre-devel-8.32-17.el7.x86_64                                                                                                                                                                    55/81 
  Installing : libsepol-devel-2.5-10.el7.x86_64                                                                                                                                                                 56/81 
  Installing : libselinux-devel-2.5-14.1.el7.x86_64                                                                                                                                                             57/81 
  Installing : libxslt-1.1.28-5.el7.x86_64                                                                                                                                                                      58/81 
  Installing : at-3.1.13-24.el7.x86_64                                                                                                                                                                          59/81 
  Installing : libverto-devel-0.2.5-4.el7.x86_64                                                                                                                                                                60/81 
  Installing : zlib-devel-1.2.7-18.el7.x86_64                                                                                                                                                                   61/81 
  Installing : bc-1.06.95-13.el7.x86_64                                                                                                                                                                         62/81 
  Installing : libcom_err-devel-1.42.9-13.el7.x86_64                                                                                                                                                            63/81 
  Installing : redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64                                                                                                                                            64/81 
  Installing : m4-1.4.16-10.el7.x86_64                                                                                                                                                                          65/81 
  Installing : redhat-lsb-core-4.1-27.el7.centos.1.x86_64                                                                                                                                                       66/81 
  Installing : mailcap-2.1.41-2.el7.noarch                                                                                                                                                                      67/81 
  Installing : httpd-2.4.6-89.el7.centos.x86_64                                                                                                                                                                 68/81 
  Installing : 1:mod_ssl-2.4.6-89.el7.centos.x86_64                                                                                                                                                             69/81 
  Installing : fuse-2.9.2-11.el7.x86_64                                                                                                                                                                         70/81 
  Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                                                                                                           71/81 
  Installing : krb5-devel-1.15.1-37.el7_6.x86_64                                                                                                                                                                72/81 
  Installing : 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                         73/81 
  Installing : fuse-libs-2.9.2-11.el7.x86_64                                                                                                                                                                    74/81 
  Installing : cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                           75/81 
  Updating   : 32:bind-libs-lite-9.9.4-74.el7_6.1.x86_64                                                                                                                                                        76/81 
  Cleanup    : 32:bind-libs-lite-9.9.4-72.el7.x86_64                                                                                                                                                            77/81 
  Cleanup    : 1:openssl-1.0.2k-16.el7.x86_64                                                                                                                                                                   78/81 
  Cleanup    : 32:bind-license-9.9.4-72.el7.noarch                                                                                                                                                              79/81 
  Cleanup    : 1:openssl-libs-1.0.2k-16.el7.x86_64                                                                                                                                                              80/81 
  Cleanup    : krb5-libs-1.15.1-34.el7.x86_64                                                                                                                                                                   81/81 
  Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                                                                                                                                                                 1/81 
  Verifying  : fuse-libs-2.9.2-11.el7.x86_64                                                                                                                                                                     2/81 
  Verifying  : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                                                                                                            3/81 
  Verifying  : fuse-2.9.2-11.el7.x86_64                                                                                                                                                                          4/81 
  Verifying  : perl-Pod-Perldoc-3.20-4.el7.noarch                                                                                                                                                                5/81 
  Verifying  : mailcap-2.1.41-2.el7.noarch                                                                                                                                                                       6/81 
  Verifying  : perl-threads-shared-1.43-6.el7.x86_64                                                                                                                                                             7/81 
  Verifying  : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                                                                                                                                                             8/81 
  Verifying  : 1:perl-Pod-Escapes-1.04-294.el7_6.noarch                                                                                                                                                          9/81 
  Verifying  : MySQL-python-1.2.5-1.el7.x86_64                                                                                                                                                                  10/81 
  Verifying  : perl-Exporter-5.68-3.el7.noarch                                                                                                                                                                  11/81 
  Verifying  : perl-constant-1.27-2.el7.noarch                                                                                                                                                                  12/81 
  Verifying  : perl-PathTools-3.40-5.el7.x86_64                                                                                                                                                                 13/81 
  Verifying  : 1:mod_ssl-2.4.6-89.el7.centos.x86_64                                                                                                                                                             14/81 
  Verifying  : m4-1.4.16-10.el7.x86_64                                                                                                                                                                          15/81 
  Verifying  : redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64                                                                                                                                            16/81 
  Verifying  : 32:bind-license-9.9.4-74.el7_6.1.noarch                                                                                                                                                          17/81 
  Verifying  : perl-File-Temp-0.23.01-3.el7.noarch                                                                                                                                                              18/81 
  Verifying  : libcom_err-devel-1.42.9-13.el7.x86_64                                                                                                                                                            19/81 
  Verifying  : krb5-devel-1.15.1-37.el7_6.x86_64                                                                                                                                                                20/81 
  Verifying  : bc-1.06.95-13.el7.x86_64                                                                                                                                                                         21/81 
  Verifying  : perl-Encode-2.51-7.el7.x86_64                                                                                                                                                                    22/81 
  Verifying  : httpd-tools-2.4.6-89.el7.centos.x86_64                                                                                                                                                           23/81 
  Verifying  : 1:perl-parent-0.225-244.el7.noarch                                                                                                                                                               24/81 
  Verifying  : avahi-libs-0.6.31-19.el7.x86_64                                                                                                                                                                  25/81 
  Verifying  : 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                         26/81 
  Verifying  : zlib-devel-1.2.7-18.el7.x86_64                                                                                                                                                                   27/81 
  Verifying  : krb5-libs-1.15.1-37.el7_6.x86_64                                                                                                                                                                 28/81 
  Verifying  : libverto-devel-0.2.5-4.el7.x86_64                                                                                                                                                                29/81 
  Verifying  : 4:perl-libs-5.16.3-294.el7_6.x86_64                                                                                                                                                              30/81 
  Verifying  : python-psycopg2-2.5.1-3.el7.x86_64                                                                                                                                                               31/81 
  Verifying  : cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                           32/81 
  Verifying  : 1:perl-Pod-Simple-3.28-4.el7.noarch                                                                                                                                                              33/81 
  Verifying  : libselinux-devel-2.5-14.1.el7.x86_64                                                                                                                                                             34/81 
  Verifying  : cyrus-sasl-plain-2.1.26-23.el7.x86_64                                                                                                                                                            35/81 
  Verifying  : perl-Text-ParseWords-3.29-4.el7.noarch                                                                                                                                                           36/81 
  Verifying  : psmisc-22.20-15.el7.x86_64                                                                                                                                                                       37/81 
  Verifying  : cyrus-sasl-gssapi-2.1.26-23.el7.x86_64                                                                                                                                                           38/81 
  Verifying  : 4:perl-macros-5.16.3-294.el7_6.x86_64                                                                                                                                                            39/81 
  Verifying  : 4:perl-5.16.3-294.el7_6.x86_64                                                                                                                                                                   40/81 
  Verifying  : 1:openssl-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                               41/81 
  Verifying  : perl-Carp-1.26-244.el7.noarch                                                                                                                                                                    42/81 
  Verifying  : at-3.1.13-24.el7.x86_64                                                                                                                                                                          43/81 
  Verifying  : 1:cups-client-1.6.3-35.el7.x86_64                                                                                                                                                                44/81 
  Verifying  : libxslt-1.1.28-5.el7.x86_64                                                                                                                                                                      45/81 
  Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                      46/81 
  Verifying  : perl-Storable-2.45-3.el7.x86_64                                                                                                                                                                  47/81 
  Verifying  : rpcbind-0.2.0-47.el7.x86_64                                                                                                                                                                      48/81 
  Verifying  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                                                                                                                                                       49/81 
  Verifying  : 1:openssl-libs-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                          50/81 
  Verifying  : httpd-2.4.6-89.el7.centos.x86_64                                                                                                                                                                 51/81 
  Verifying  : mailx-12.5-19.el7.x86_64                                                                                                                                                                         52/81 
  Verifying  : libsepol-devel-2.5-10.el7.x86_64                                                                                                                                                                 53/81 
  Verifying  : perl-Pod-Usage-1.63-3.el7.noarch                                                                                                                                                                 54/81 
  Verifying  : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                       55/81 
  Verifying  : 32:bind-libs-9.9.4-74.el7_6.1.x86_64                                                                                                                                                             56/81 
  Verifying  : 1:cups-libs-1.6.3-35.el7.x86_64                                                                                                                                                                  57/81 
  Verifying  : cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                         58/81 
  Verifying  : perl-podlators-2.5.1-3.el7.noarch                                                                                                                                                                59/81 
  Verifying  : pcre-devel-8.32-17.el7.x86_64                                                                                                                                                                    60/81 
  Verifying  : perl-File-Path-2.09-2.el7.noarch                                                                                                                                                                 61/81 
  Verifying  : time-1.7-45.el7.x86_64                                                                                                                                                                           62/81 
  Verifying  : libkadm5-1.15.1-37.el7_6.x86_64                                                                                                                                                                  63/81 
  Verifying  : perl-threads-1.87-4.el7.x86_64                                                                                                                                                                   64/81 
  Verifying  : spax-1.5.2-13.el7.x86_64                                                                                                                                                                         65/81 
  Verifying  : perl-Filter-1.49-3.el7.x86_64                                                                                                                                                                    66/81 
  Verifying  : perl-Getopt-Long-2.40-3.el7.noarch                                                                                                                                                               67/81 
  Verifying  : ed-1.9-4.el7.x86_64                                                                                                                                                                              68/81 
  Verifying  : perl-Socket-2.010-4.el7.x86_64                                                                                                                                                                   69/81 
  Verifying  : redhat-lsb-core-4.1-27.el7.centos.1.x86_64                                                                                                                                                       70/81 
  Verifying  : patch-2.7.1-10.el7_5.x86_64                                                                                                                                                                      71/81 
  Verifying  : postgresql-libs-9.2.24-1.el7_5.x86_64                                                                                                                                                            72/81 
  Verifying  : perl-Time-Local-1.2300-2.el7.noarch                                                                                                                                                              73/81 
  Verifying  : 32:bind-utils-9.9.4-74.el7_6.1.x86_64                                                                                                                                                            74/81 
  Verifying  : 32:bind-libs-lite-9.9.4-74.el7_6.1.x86_64                                                                                                                                                        75/81 
  Verifying  : libtirpc-0.2.4-0.15.el7.x86_64                                                                                                                                                                   76/81 
  Verifying  : 1:openssl-libs-1.0.2k-16.el7.x86_64                                                                                                                                                              77/81 
  Verifying  : 1:openssl-1.0.2k-16.el7.x86_64                                                                                                                                                                   78/81 
  Verifying  : 32:bind-libs-lite-9.9.4-72.el7.x86_64                                                                                                                                                            79/81 
  Verifying  : 32:bind-license-9.9.4-72.el7.noarch                                                                                                                                                              80/81 
  Verifying  : krb5-libs-1.15.1-34.el7.x86_64                                                                                                                                                                   81/81 

Installed:
  cloudera-manager-agent.x86_64 0:5.16.1-1.cm5161.p0.1.el7                                                                                                                                                            

Dependency Installed:
  MySQL-python.x86_64 0:1.2.5-1.el7                              apr.x86_64 0:1.4.8-3.el7_4.1                                apr-util.x86_64 0:1.5.2-6.el7                at.x86_64 0:3.1.13-24.el7                   
  avahi-libs.x86_64 0:0.6.31-19.el7                              bc.x86_64 0:1.06.95-13.el7                                  bind-libs.x86_64 32:9.9.4-74.el7_6.1         bind-utils.x86_64 32:9.9.4-74.el7_6.1       
  cloudera-manager-daemons.x86_64 0:5.16.1-1.cm5161.p0.1.el7     cups-client.x86_64 1:1.6.3-35.el7                           cups-libs.x86_64 1:1.6.3-35.el7              cyrus-sasl-gssapi.x86_64 0:2.1.26-23.el7    
  cyrus-sasl-plain.x86_64 0:2.1.26-23.el7                        ed.x86_64 0:1.9-4.el7                                       fuse.x86_64 0:2.9.2-11.el7                   fuse-libs.x86_64 0:2.9.2-11.el7             
  httpd.x86_64 0:2.4.6-89.el7.centos                             httpd-tools.x86_64 0:2.4.6-89.el7.centos                    keyutils-libs-devel.x86_64 0:1.5.8-3.el7     krb5-devel.x86_64 0:1.15.1-37.el7_6         
  libcom_err-devel.x86_64 0:1.42.9-13.el7                        libkadm5.x86_64 0:1.15.1-37.el7_6                           libselinux-devel.x86_64 0:2.5-14.1.el7       libsepol-devel.x86_64 0:2.5-10.el7          
  libtirpc.x86_64 0:0.2.4-0.15.el7                               libverto-devel.x86_64 0:0.2.5-4.el7                         libxslt.x86_64 0:1.1.28-5.el7                m4.x86_64 0:1.4.16-10.el7                   
  mailcap.noarch 0:2.1.41-2.el7                                  mailx.x86_64 0:12.5-19.el7                                  mod_ssl.x86_64 1:2.4.6-89.el7.centos         openssl-devel.x86_64 1:1.0.2k-16.el7_6.1    
  patch.x86_64 0:2.7.1-10.el7_5                                  pcre-devel.x86_64 0:8.32-17.el7                             perl.x86_64 4:5.16.3-294.el7_6               perl-Carp.noarch 0:1.26-244.el7             
  perl-Encode.x86_64 0:2.51-7.el7                                perl-Exporter.noarch 0:5.68-3.el7                           perl-File-Path.noarch 0:2.09-2.el7           perl-File-Temp.noarch 0:0.23.01-3.el7       
  perl-Filter.x86_64 0:1.49-3.el7                                perl-Getopt-Long.noarch 0:2.40-3.el7                        perl-HTTP-Tiny.noarch 0:0.033-3.el7          perl-PathTools.x86_64 0:3.40-5.el7          
  perl-Pod-Escapes.noarch 1:1.04-294.el7_6                       perl-Pod-Perldoc.noarch 0:3.20-4.el7                        perl-Pod-Simple.noarch 1:3.28-4.el7          perl-Pod-Usage.noarch 0:1.63-3.el7          
  perl-Scalar-List-Utils.x86_64 0:1.27-248.el7                   perl-Socket.x86_64 0:2.010-4.el7                            perl-Storable.x86_64 0:2.45-3.el7            perl-Text-ParseWords.noarch 0:3.29-4.el7    
  perl-Time-HiRes.x86_64 4:1.9725-3.el7                          perl-Time-Local.noarch 0:1.2300-2.el7                       perl-constant.noarch 0:1.27-2.el7            perl-libs.x86_64 4:5.16.3-294.el7_6         
  perl-macros.x86_64 4:5.16.3-294.el7_6                          perl-parent.noarch 1:0.225-244.el7                          perl-podlators.noarch 0:2.5.1-3.el7          perl-threads.x86_64 0:1.87-4.el7            
  perl-threads-shared.x86_64 0:1.43-6.el7                        postgresql-libs.x86_64 0:9.2.24-1.el7_5                     psmisc.x86_64 0:22.20-15.el7                 python-psycopg2.x86_64 0:2.5.1-3.el7        
  redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1                   redhat-lsb-submod-security.x86_64 0:4.1-27.el7.centos.1     rpcbind.x86_64 0:0.2.0-47.el7                spax.x86_64 0:1.5.2-13.el7                  
  time.x86_64 0:1.7-45.el7                                       zlib-devel.x86_64 0:1.2.7-18.el7                           

Dependency Updated:
  bind-libs-lite.x86_64 32:9.9.4-74.el7_6.1     bind-license.noarch 32:9.9.4-74.el7_6.1     krb5-libs.x86_64 0:1.15.1-37.el7_6     openssl.x86_64 1:1.0.2k-16.el7_6.1     openssl-libs.x86_64 1:1.0.2k-16.el7_6.1    

Complete!
You have mail in /var/spool/mail/root
[root@node104.yinzhengjie.org.cn ~]# 
[root@node104.yinzhengjie.org.cn ~]# yum -y install cloudera-manager-agent
[root@node105.yinzhengjie.org.cn ~]# yum -y install cloudera-manager-agent
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.tuna.tsinghua.edu.cn
 * extras: mirror.bit.edu.cn
 * updates: mirror.bit.edu.cn
base                                                                                                                                                                                           | 3.6 kB  00:00:00     
cloudera-manager                                                                                                                                                                               | 2.9 kB  00:00:00     
extras                                                                                                                                                                                         | 3.4 kB  00:00:00     
updates                                                                                                                                                                                        | 3.4 kB  00:00:00     
(1/2): cloudera-manager/primary_db                                                                                                                                                             | 9.0 kB  00:00:00     
(2/2): updates/7/x86_64/primary_db                                                                                                                                                             | 5.7 MB  00:00:03     
Resolving Dependencies
--> Running transaction check
---> Package cloudera-manager-agent.x86_64 0:5.16.1-1.cm5161.p0.1.el7 will be installed
cloudera-manager/filelists_db                                                                                                                                                                  | 105 kB  00:00:00     
--> Processing Dependency: cloudera-manager-daemons = 5.16.1 for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: python-psycopg2 for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
base/7/x86_64/filelists_db                                                                                                                                                                     | 7.1 MB  00:00:03     
--> Processing Dependency: portmap for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: openssl-devel for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
updates/7/x86_64/filelists_db                                                                                                                                                                  | 4.0 MB  00:00:02     
--> Processing Dependency: mod_ssl for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: httpd for package: cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64
--> Processing Dependency: MySQL-python for package: cloudera-manager-agent-5.16.1-1.cm5161.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.16.1-1.cm5161.p0.1.el7 will be installed
---> Package httpd.x86_64 0:2.4.6-89.el7.centos will be installed
--> Processing Dependency: httpd-tools = 2.4.6-89.el7.centos for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
---> Package mod_ssl.x86_64 1:2.4.6-89.el7.centos will be installed
---> Package openssl-devel.x86_64 1:1.0.2k-16.el7_6.1 will be installed
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-16.el7_6.1 for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64
---> Package python-psycopg2.x86_64 0:2.5.1-3.el7 will be installed
--> Processing Dependency: libpq.so.5()(64bit) for package: python-psycopg2-2.5.1-3.el7.x86_64
---> Package rpcbind.x86_64 0:0.2.0-47.el7 will be installed
--> Processing Dependency: libtirpc >= 0.2.4-0.7 for package: rpcbind-0.2.0-47.el7.x86_64
--> Processing Dependency: libtirpc.so.1()(64bit) for package: rpcbind-0.2.0-47.el7.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-3.el7_4.1 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-89.el7.centos will be installed
---> Package krb5-devel.x86_64 0:1.15.1-37.el7_6 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-37.el7_6 for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: krb5-libs(x86-64) = 1.15.1-37.el7_6 for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-37.el7_6.x86_64
---> Package libtirpc.x86_64 0:0.2.4-0.15.el7 will be installed
---> Package openssl-libs.x86_64 1:1.0.2k-16.el7 will be updated
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-16.el7 for package: 1:openssl-1.0.2k-16.el7.x86_64
---> Package openssl-libs.x86_64 1:1.0.2k-16.el7_6.1 will be an update
---> Package postgresql-libs.x86_64 0:9.2.24-1.el7_5 will be installed
---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be installed
--> 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.15.1-34.el7 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-37.el7_6 will be an update
---> Package libcom_err-devel.x86_64 0:1.42.9-13.el7 will be installed
---> Package libkadm5.x86_64 0:1.15.1-37.el7_6 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.2k-16.el7 will be updated
---> Package openssl.x86_64 1:1.0.2k-16.el7_6.1 will be an update
--> Running transaction check
---> 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
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================================================================
 Package                                                   Arch                                    Version                                                    Repository                                         Size
======================================================================================================================================================================================================================
Installing:
 cloudera-manager-agent                                    x86_64                                  5.16.1-1.cm5161.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-3.el7_4.1                                            base                                              103 k
 apr-util                                                  x86_64                                  1.5.2-6.el7                                                base                                               92 k
 cloudera-manager-daemons                                  x86_64                                  5.16.1-1.cm5161.p0.1.el7                                   cloudera-manager                                  753 M
 httpd                                                     x86_64                                  2.4.6-89.el7.centos                                        updates                                           2.7 M
 httpd-tools                                               x86_64                                  2.4.6-89.el7.centos                                        updates                                            90 k
 keyutils-libs-devel                                       x86_64                                  1.5.8-3.el7                                                base                                               37 k
 krb5-devel                                                x86_64                                  1.15.1-37.el7_6                                            updates                                           271 k
 libcom_err-devel                                          x86_64                                  1.42.9-13.el7                                              base                                               31 k
 libkadm5                                                  x86_64                                  1.15.1-37.el7_6                                            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
 libtirpc                                                  x86_64                                  0.2.4-0.15.el7                                             base                                               89 k
 libverto-devel                                            x86_64                                  0.2.5-4.el7                                                base                                               12 k
 mod_ssl                                                   x86_64                                  1:2.4.6-89.el7.centos                                      updates                                           112 k
 openssl-devel                                             x86_64                                  1:1.0.2k-16.el7_6.1                                        updates                                           1.5 M
 pcre-devel                                                x86_64                                  8.32-17.el7                                                base                                              480 k
 postgresql-libs                                           x86_64                                  9.2.24-1.el7_5                                             base                                              234 k
 python-psycopg2                                           x86_64                                  2.5.1-3.el7                                                base                                              132 k
 rpcbind                                                   x86_64                                  0.2.0-47.el7                                               base                                               60 k
 zlib-devel                                                x86_64                                  1.2.7-18.el7                                               base                                               50 k
Updating for dependencies:
 krb5-libs                                                 x86_64                                  1.15.1-37.el7_6                                            updates                                           803 k
 openssl                                                   x86_64                                  1:1.0.2k-16.el7_6.1                                        updates                                           493 k
 openssl-libs                                              x86_64                                  1:1.0.2k-16.el7_6.1                                        updates                                           1.2 M

Transaction Summary
======================================================================================================================================================================================================================
Install  1 Package  (+21 Dependent packages)
Upgrade             (  3 Dependent packages)

Total download size: 772 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/25): apr-1.4.8-3.el7_4.1.x86_64.rpm                                                                                                                                                         | 103 kB  00:00:00     
(2/25): apr-util-1.5.2-6.el7.x86_64.rpm                                                                                                                                                        |  92 kB  00:00:00     
(3/25): httpd-tools-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                             |  90 kB  00:00:00     
(4/25): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm                                                                                                                                             |  37 kB  00:00:00     
(5/25): MySQL-python-1.2.5-1.el7.x86_64.rpm                                                                                                                                                    |  90 kB  00:00:00     
(6/25): krb5-devel-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                  | 271 kB  00:00:00     
(7/25): libcom_err-devel-1.42.9-13.el7.x86_64.rpm                                                                                                                                              |  31 kB  00:00:00     
(8/25): libkadm5-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                    | 178 kB  00:00:00     
warning: /var/cache/yum/x86_64/7/cloudera-manager/packages/cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID e8f86acd: NOKEY         ]  0.0 B/s | 9.2 MB  --:--:-- ETA 
Public key for cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm is not installed
(9/25): cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm                                                                                                                             | 9.4 MB  00:00:00     
(10/25): libselinux-devel-2.5-14.1.el7.x86_64.rpm                                                                                                                                              | 187 kB  00:00:00     
(11/25): libsepol-devel-2.5-10.el7.x86_64.rpm                                                                                                                                                  |  77 kB  00:00:00     
(12/25): libverto-devel-0.2.5-4.el7.x86_64.rpm                                                                                                                                                 |  12 kB  00:00:00     
(13/25): mod_ssl-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                                | 112 kB  00:00:00     
(14/25): krb5-libs-1.15.1-37.el7_6.x86_64.rpm                                                                                                                                                  | 803 kB  00:00:00     
(15/25): openssl-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                                  | 493 kB  00:00:00     
(16/25): libtirpc-0.2.4-0.15.el7.x86_64.rpm                                                                                                                                                    |  89 kB  00:00:01     
(17/25): openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                             | 1.2 MB  00:00:01     
(18/25): postgresql-libs-9.2.24-1.el7_5.x86_64.rpm                                                                                                                                             | 234 kB  00:00:00     
(19/25): python-psycopg2-2.5.1-3.el7.x86_64.rpm                                                                                                                                                | 132 kB  00:00:00     
(20/25): rpcbind-0.2.0-47.el7.x86_64.rpm                                                                                                                                                       |  60 kB  00:00:00     
(21/25): httpd-2.4.6-89.el7.centos.x86_64.rpm                                                                                                                                                  | 2.7 MB  00:00:03     
(22/25): zlib-devel-1.2.7-18.el7.x86_64.rpm                                                                                                                                                    |  50 kB  00:00:00     
(23/25): openssl-devel-1.0.2k-16.el7_6.1.x86_64.rpm                                                                                                                                            | 1.5 MB  00:00:02     
(24/25): pcre-devel-8.32-17.el7.x86_64.rpm                                                                                                                                                     | 480 kB  00:00:03     
(25/25): cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm                                                                                                                          | 753 MB  00:00:15     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                  49 MB/s | 772 MB  00:00:15     
Retrieving key from http://node107.yinzhengjie.org.cn/cm-5.16.1/RPM-GPG-KEY-cloudera
Importing GPG key 0xE8F86ACD:
 Userid     : "Yum Maintainer <webmaster@cloudera.com>"
 Fingerprint: 5f14 d39e f068 1aca 6f04 4a43 f90c 0d8f e8f8 6acd
 From       : http://node107.yinzhengjie.org.cn/cm-5.16.1/RPM-GPG-KEY-cloudera
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : 1:openssl-libs-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                           1/28 
  Updating   : krb5-libs-1.15.1-37.el7_6.x86_64                                                                                                                                                                  2/28 
  Installing : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                        3/28 
  Installing : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                       4/28 
  Updating   : 1:openssl-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                                5/28 
  Installing : httpd-tools-2.4.6-89.el7.centos.x86_64                                                                                                                                                            6/28 
  Installing : httpd-2.4.6-89.el7.centos.x86_64                                                                                                                                                                  7/28 
  Installing : 1:mod_ssl-2.4.6-89.el7.centos.x86_64                                                                                                                                                              8/28 
  Installing : libkadm5-1.15.1-37.el7_6.x86_64                                                                                                                                                                   9/28 
  Installing : postgresql-libs-9.2.24-1.el7_5.x86_64                                                                                                                                                            10/28 
  Installing : python-psycopg2-2.5.1-3.el7.x86_64                                                                                                                                                               11/28 
  Installing : libtirpc-0.2.4-0.15.el7.x86_64                                                                                                                                                                   12/28 
  Installing : rpcbind-0.2.0-47.el7.x86_64                                                                                                                                                                      13/28 
  Installing : MySQL-python-1.2.5-1.el7.x86_64                                                                                                                                                                  14/28 
  Installing : cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                         15/28 
  Installing : libsepol-devel-2.5-10.el7.x86_64                                                                                                                                                                 16/28 
  Installing : zlib-devel-1.2.7-18.el7.x86_64                                                                                                                                                                   17/28 
  Installing : libverto-devel-0.2.5-4.el7.x86_64                                                                                                                                                                18/28 
  Installing : libcom_err-devel-1.42.9-13.el7.x86_64                                                                                                                                                            19/28 
  Installing : pcre-devel-8.32-17.el7.x86_64                                                                                                                                                                    20/28 
  Installing : libselinux-devel-2.5-14.1.el7.x86_64                                                                                                                                                             21/28 
  Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                                                                                                           22/28 
  Installing : krb5-devel-1.15.1-37.el7_6.x86_64                                                                                                                                                                23/28 
  Installing : 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                         24/28 
  Installing : cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                           25/28 
  Cleanup    : 1:openssl-1.0.2k-16.el7.x86_64                                                                                                                                                                   26/28 
  Cleanup    : 1:openssl-libs-1.0.2k-16.el7.x86_64                                                                                                                                                              27/28 
  Cleanup    : krb5-libs-1.15.1-34.el7.x86_64                                                                                                                                                                   28/28 
  Verifying  : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                                                                                                            1/28 
  Verifying  : MySQL-python-1.2.5-1.el7.x86_64                                                                                                                                                                   2/28 
  Verifying  : pcre-devel-8.32-17.el7.x86_64                                                                                                                                                                     3/28 
  Verifying  : 1:mod_ssl-2.4.6-89.el7.centos.x86_64                                                                                                                                                              4/28 
  Verifying  : libcom_err-devel-1.42.9-13.el7.x86_64                                                                                                                                                             5/28 
  Verifying  : krb5-devel-1.15.1-37.el7_6.x86_64                                                                                                                                                                 6/28 
  Verifying  : httpd-tools-2.4.6-89.el7.centos.x86_64                                                                                                                                                            7/28 
  Verifying  : libverto-devel-0.2.5-4.el7.x86_64                                                                                                                                                                 8/28 
  Verifying  : zlib-devel-1.2.7-18.el7.x86_64                                                                                                                                                                    9/28 
  Verifying  : krb5-libs-1.15.1-37.el7_6.x86_64                                                                                                                                                                 10/28 
  Verifying  : python-psycopg2-2.5.1-3.el7.x86_64                                                                                                                                                               11/28 
  Verifying  : cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                           12/28 
  Verifying  : 1:openssl-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                               13/28 
  Verifying  : 1:openssl-devel-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                         14/28 
  Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                      15/28 
  Verifying  : rpcbind-0.2.0-47.el7.x86_64                                                                                                                                                                      16/28 
  Verifying  : 1:openssl-libs-1.0.2k-16.el7_6.1.x86_64                                                                                                                                                          17/28 
  Verifying  : httpd-2.4.6-89.el7.centos.x86_64                                                                                                                                                                 18/28 
  Verifying  : libsepol-devel-2.5-10.el7.x86_64                                                                                                                                                                 19/28 
  Verifying  : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                       20/28 
  Verifying  : cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64                                                                                                                                         21/28 
  Verifying  : libkadm5-1.15.1-37.el7_6.x86_64                                                                                                                                                                  22/28 
  Verifying  : libselinux-devel-2.5-14.1.el7.x86_64                                                                                                                                                             23/28 
  Verifying  : postgresql-libs-9.2.24-1.el7_5.x86_64                                                                                                                                                            24/28 
  Verifying  : libtirpc-0.2.4-0.15.el7.x86_64                                                                                                                                                                   25/28 
  Verifying  : 1:openssl-libs-1.0.2k-16.el7.x86_64                                                                                                                                                              26/28 
  Verifying  : 1:openssl-1.0.2k-16.el7.x86_64                                                                                                                                                                   27/28 
  Verifying  : krb5-libs-1.15.1-34.el7.x86_64                                                                                                                                                                   28/28 

Installed:
  cloudera-manager-agent.x86_64 0:5.16.1-1.cm5161.p0.1.el7                                                                                                                                                            

Dependency Installed:
  MySQL-python.x86_64 0:1.2.5-1.el7               apr.x86_64 0:1.4.8-3.el7_4.1                     apr-util.x86_64 0:1.5.2-6.el7                    cloudera-manager-daemons.x86_64 0:5.16.1-1.cm5161.p0.1.el7        
  httpd.x86_64 0:2.4.6-89.el7.centos              httpd-tools.x86_64 0:2.4.6-89.el7.centos         keyutils-libs-devel.x86_64 0:1.5.8-3.el7         krb5-devel.x86_64 0:1.15.1-37.el7_6                               
  libcom_err-devel.x86_64 0:1.42.9-13.el7         libkadm5.x86_64 0:1.15.1-37.el7_6                libselinux-devel.x86_64 0:2.5-14.1.el7           libsepol-devel.x86_64 0:2.5-10.el7                                
  libtirpc.x86_64 0:0.2.4-0.15.el7                libverto-devel.x86_64 0:0.2.5-4.el7              mod_ssl.x86_64 1:2.4.6-89.el7.centos             openssl-devel.x86_64 1:1.0.2k-16.el7_6.1                          
  pcre-devel.x86_64 0:8.32-17.el7                 postgresql-libs.x86_64 0:9.2.24-1.el7_5          python-psycopg2.x86_64 0:2.5.1-3.el7             rpcbind.x86_64 0:0.2.0-47.el7                                     
  zlib-devel.x86_64 0:1.2.7-18.el7               

Dependency Updated:
  krb5-libs.x86_64 0:1.15.1-37.el7_6                                   openssl.x86_64 1:1.0.2k-16.el7_6.1                                   openssl-libs.x86_64 1:1.0.2k-16.el7_6.1                                  

Complete!
You have mail in /var/spool/mail/root
[root@node105.yinzhengjie.org.cn ~]# 
[root@node105.yinzhengjie.org.cn ~]# yum -y install cloudera-manager-agent

8>.修改Cloudera Manager Agent各节点的配置文件

[root@node101.yinzhengjie.org.cn ~]# grep server_port /etc/cloudera-scm-agent/config.ini               #注意,server_port 是Server和Agent的通信端口,没事别瞎改啊!
server_port=7182
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# grep server_host /etc/cloudera-scm-agent/config.ini              #CM服务器默认是本机
server_host=localhost
[root@node101.yinzhengjie.org.cn ~]#
[root@node101.yinzhengjie.org.cn ~]# ansible cdh -m shell -a 'sed -i 's/server_host=localhost/server_host=node101.yinzhengjie.org.cn/g' /etc/cloudera-scm-agent/config.ini'
 [WARNING]: Consider using template or lineinfile module rather than running sed

node105.yinzhengjie.org.cn | SUCCESS | rc=0 >>


node102.yinzhengjie.org.cn | SUCCESS | rc=0 >>


node104.yinzhengjie.org.cn | SUCCESS | rc=0 >>


node101.yinzhengjie.org.cn | SUCCESS | rc=0 >>


node103.yinzhengjie.org.cn | SUCCESS | rc=0 >>


[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# ansible cdh -m shell -a 'sed -i 's/server_host=localhost/server_host=node101.yinzhengjie.org.cn/g' /etc/cloudera-scm-agent/config.ini'
[root@node101.yinzhengjie.org.cn ~]# ansible cdh -m shell -a 'grep server_host /etc/cloudera-scm-agent/config.ini'
node104.yinzhengjie.org.cn | SUCCESS | rc=0 >>
server_host=node101.yinzhengjie.org.cn

node105.yinzhengjie.org.cn | SUCCESS | rc=0 >>
server_host=node101.yinzhengjie.org.cn

node102.yinzhengjie.org.cn | SUCCESS | rc=0 >>
server_host=node101.yinzhengjie.org.cn

node101.yinzhengjie.org.cn | SUCCESS | rc=0 >>
server_host=node101.yinzhengjie.org.cn

node103.yinzhengjie.org.cn | SUCCESS | rc=0 >>
server_host=node101.yinzhengjie.org.cn

[root@node101.yinzhengjie.org.cn ~]#

 

四.启动和验证Cloudera Manager

1>.启动Cloudera Manager Server端

[root@node101.yinzhengjie.org.cn ~]# systemctl start cloudera-scm-server
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# systemctl status cloudera-scm-server
● cloudera-scm-server.service - LSB: Cloudera SCM Server
   Loaded: loaded (/etc/rc.d/init.d/cloudera-scm-server; bad; vendor preset: disabled)
   Active: active (exited) since Tue 2019-06-11 16:28:29 CST; 4s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 11127 ExecStart=/etc/rc.d/init.d/cloudera-scm-server start (code=exited, status=0/SUCCESS)

Jun 11 16:28:24 node101.yinzhengjie.org.cn systemd[1]: Starting LSB: Cloudera SCM Server...
Jun 11 16:28:24 node101.yinzhengjie.org.cn su[11151]: (to cloudera-scm) root on none
Jun 11 16:28:24 node101.yinzhengjie.org.cn su[11151]: pam_limits(su:session): wrong limit value 'unlimited ' for limit type 'hard'
Jun 11 16:28:29 node101.yinzhengjie.org.cn cloudera-scm-server[11127]: Starting cloudera-scm-server: [  OK  ]
Jun 11 16:28:29 node101.yinzhengjie.org.cn systemd[1]: Started LSB: Cloudera SCM Server.
[root@node101.yinzhengjie.org.cn ~]#
[root@node101.yinzhengjie.org.cn ~]# systemctl enable cloudera-scm-server          #我本来想让它开机自启,结果它提示让我使用chkconfig命令
cloudera-scm-server.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig cloudera-scm-server on
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# chkconfig cloudera-scm-server on            
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# chkconfig --list                      #检查开机自启动的服务

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

      If you want to list systemd services use 'systemctl list-unit-files'.
      To see services enabled on particular target use
      'systemctl list-dependencies [target]'.

cloudera-scm-agent    0:off    1:off    2:off    3:on    4:on    5:on    6:off
cloudera-scm-server    0:off    1:off    2:on    3:on    4:on    5:on    6:off
netconsole         0:off    1:off    2:off    3:off    4:off    5:off    6:off
network            0:off    1:off    2:on    3:on    4:on    5:on    6:off
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# chkconfig --list                      #检查开机自启动的服务

2>..查看Cloudera Manager Server的日志

默认数据库配置如下:
  [root@node106.yinzhengjie.org.cn ~]# cat /etc/my.cnf
  [mysqld]
  basedir=/yinzhengjie/softwares/mysql/
  datadir=/yinzhengjie/softwares/mysql/data/
  log-bin=yinzhengjie-mysql-bin
  server-id=106
  max_allowed_packet = 1G
  [root@node106.yinzhengjie.org.cn ~]#



如果日志报错中出现:Row size too large 65535字样,可执行以下操作,将以下内容添加到my.cnf文件下[mysqld]。

  innodb_file_per_table=1
  innodb_file_format = Barracuda


参考:https://stackoverflow.com/questions/15585602/change-limit-for-mysql-row-size-too-large


如果上述问题依旧无法解决,可以尝试重新初始化数据操作。
Row size too large 65535解决方案
[root@node101.yinzhengjie.org.cn ~]# tail -10f /var/log/cloudera-scm-server/cloudera-scm-server.log                     #查看Cloudera Manager的服务的日志
2019-06-11 16:57:40,901 INFO WebServerImpl:org.springframework.web.servlet.DispatcherServlet: FrameworkServlet 'Spring MVC Dispatcher Servlet': initialization completed in 2686 ms
2019-06-11 16:57:40,925 INFO WebServerImpl:com.cloudera.server.web.cmon.JobDetailGatekeeper: ActivityMonitor configured to allow job details for all jobs.
2019-06-11 16:57:42,483 INFO WebServerImpl:com.cloudera.server.web.cmf.AggregatorController: AggregateSummaryScheduler started.
2019-06-11 16:57:42,598 INFO SearchRepositoryManager-0:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: Initializing SearchTemplateManager:2019-06-11T08:57:42.598Z
2019-06-11 16:57:42,620 INFO SearchRepositoryManager-0:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: Generating entities:2019-06-11T08:57:42.620Z
2019-06-11 16:57:42,641 INFO SearchRepositoryManager-0:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: Num entities:208
2019-06-11 16:57:42,641 INFO SearchRepositoryManager-0:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: Generating documents:2019-06-11T08:57:42.641Z
2019-06-11 16:57:42,655 INFO SearchRepositoryManager-0:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: Num docs:221
2019-06-11 16:57:42,660 INFO SearchRepositoryManager-0:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: Constructing repo:2019-06-11T08:57:42.660Z
2019-06-11 16:57:43,378 INFO SearchRepositoryManager-0:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: Finished constructing repo:2019-06-11T08:57:43.378Z
2019-06-11 16:57:43,456 INFO WebServerImpl:org.mortbay.log: jetty-6.1.26.cloudera.4
2019-06-11 16:57:43,457 INFO WebServerImpl:org.mortbay.log: Started SelectChannelConnector@0.0.0.0:7180           #注意,如果出现这一行提示,说明你的服务启动成功啦!默认端口为7180,下面有WebServerImpl:Started Jetty server提示!          
2019-06-11 16:57:43,457 INFO WebServerImpl:com.cloudera.server.cmf.WebServerImpl: Started Jetty server.

3>.访问Cloudera Manager Server的WebUI

[root@node101.yinzhengjie.org.cn ~]# ss -ntl
State      Recv-Q Send-Q                                                    Local Address:Port                                                                   Peer Address:Port              
LISTEN     0      50                                                                    *:7180                                                                              *:*                  #注意,这个7180端口就是CM的WebUI默认端口
LISTEN     0      50                                                                    *:7182                                                                              *:*                  
LISTEN     0      128                                                                   *:111                                                                               *:*                  
LISTEN     0      128                                                                   *:22                                                                                *:*                  
LISTEN     0      100                                                           127.0.0.1:25                                                                                *:*                  
LISTEN     0      128                                                                  :::22                                                                               :::*                  
[root@node101.yinzhengjie.org.cn ~]#

4>.启动各个Cloudera Manager Server端

[root@node101.yinzhengjie.org.cn ~]# ansible cdh -m shell -a 'systemctl start cloudera-scm-agent'
node104.yinzhengjie.org.cn | SUCCESS | rc=0 >>


node101.yinzhengjie.org.cn | SUCCESS | rc=0 >>


node103.yinzhengjie.org.cn | SUCCESS | rc=0 >>


node102.yinzhengjie.org.cn | SUCCESS | rc=0 >>


node105.yinzhengjie.org.cn | SUCCESS | rc=0 >>


[root@node101.yinzhengjie.org.cn ~]#
[root@node101.yinzhengjie.org.cn ~]# ansible cdh -m shell -a 'systemctl status cloudera-scm-agent'
node104.yinzhengjie.org.cn | SUCCESS | rc=0 >>
● cloudera-scm-agent.service - LSB: Cloudera SCM Agent
   Loaded: loaded (/etc/rc.d/init.d/cloudera-scm-agent; bad; vendor preset: disabled)
   Active: active (exited) since Tue 2019-06-11 17:09:51 CST; 38s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 25918 ExecStart=/etc/rc.d/init.d/cloudera-scm-agent start (code=exited, status=0/SUCCESS)

Jun 11 17:09:50 node104.yinzhengjie.org.cn systemd[1]: Starting LSB: Cloudera SCM Agent...
Jun 11 17:09:50 node104.yinzhengjie.org.cn su[25936]: (to root) root on none
Jun 11 17:09:50 node104.yinzhengjie.org.cn su[25936]: pam_limits(su:session): wrong limit value 'unlimited ' for limit type 'hard'
Jun 11 17:09:51 node104.yinzhengjie.org.cn cloudera-scm-agent[25918]: Starting cloudera-scm-agent: [  OK  ]
Jun 11 17:09:51 node104.yinzhengjie.org.cn systemd[1]: Started LSB: Cloudera SCM Agent.

node103.yinzhengjie.org.cn | SUCCESS | rc=0 >>
● cloudera-scm-agent.service - LSB: Cloudera SCM Agent
   Loaded: loaded (/etc/rc.d/init.d/cloudera-scm-agent; bad; vendor preset: disabled)
   Active: active (exited) since Tue 2019-06-11 17:09:51 CST; 38s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 13750 ExecStart=/etc/rc.d/init.d/cloudera-scm-agent start (code=exited, status=0/SUCCESS)

Jun 11 17:09:50 node103.yinzhengjie.org.cn systemd[1]: Starting LSB: Cloudera SCM Agent...
Jun 11 17:09:51 node103.yinzhengjie.org.cn su[13768]: (to root) root on none
Jun 11 17:09:51 node103.yinzhengjie.org.cn su[13768]: pam_limits(su:session): wrong limit value 'unlimited ' for limit type 'hard'
Jun 11 17:09:51 node103.yinzhengjie.org.cn cloudera-scm-agent[13750]: Starting cloudera-scm-agent: [  OK  ]
Jun 11 17:09:51 node103.yinzhengjie.org.cn systemd[1]: Started LSB: Cloudera SCM Agent.

node101.yinzhengjie.org.cn | SUCCESS | rc=0 >>
● cloudera-scm-agent.service - LSB: Cloudera SCM Agent
   Loaded: loaded (/etc/rc.d/init.d/cloudera-scm-agent; bad; vendor preset: disabled)
   Active: active (exited) since Tue 2019-06-11 17:09:51 CST; 38s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 11977 ExecStart=/etc/rc.d/init.d/cloudera-scm-agent start (code=exited, status=0/SUCCESS)

Jun 11 17:09:50 node101.yinzhengjie.org.cn systemd[1]: Starting LSB: Cloudera SCM Agent...
Jun 11 17:09:50 node101.yinzhengjie.org.cn su[11995]: (to root) root on none
Jun 11 17:09:50 node101.yinzhengjie.org.cn su[11995]: pam_limits(su:session): wrong limit value 'unlimited ' for limit type 'hard'
Jun 11 17:09:51 node101.yinzhengjie.org.cn cloudera-scm-agent[11977]: Starting cloudera-scm-agent: [  OK  ]
Jun 11 17:09:51 node101.yinzhengjie.org.cn systemd[1]: Started LSB: Cloudera SCM Agent.

node102.yinzhengjie.org.cn | SUCCESS | rc=0 >>
● cloudera-scm-agent.service - LSB: Cloudera SCM Agent
   Loaded: loaded (/etc/rc.d/init.d/cloudera-scm-agent; bad; vendor preset: disabled)
   Active: active (exited) since Tue 2019-06-11 17:09:51 CST; 38s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 23154 ExecStart=/etc/rc.d/init.d/cloudera-scm-agent start (code=exited, status=0/SUCCESS)

Jun 11 17:09:50 node102.yinzhengjie.org.cn systemd[1]: Starting LSB: Cloudera SCM Agent...
Jun 11 17:09:51 node102.yinzhengjie.org.cn su[23172]: (to root) root on none
Jun 11 17:09:51 node102.yinzhengjie.org.cn su[23172]: pam_limits(su:session): wrong limit value 'unlimited ' for limit type 'hard'
Jun 11 17:09:51 node102.yinzhengjie.org.cn cloudera-scm-agent[23154]: Starting cloudera-scm-agent: [  OK  ]
Jun 11 17:09:51 node102.yinzhengjie.org.cn systemd[1]: Started LSB: Cloudera SCM Agent.

node105.yinzhengjie.org.cn | SUCCESS | rc=0 >>
● cloudera-scm-agent.service - LSB: Cloudera SCM Agent
   Loaded: loaded (/etc/rc.d/init.d/cloudera-scm-agent; bad; vendor preset: disabled)
   Active: active (exited) since Tue 2019-06-11 17:09:51 CST; 38s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 17715 ExecStart=/etc/rc.d/init.d/cloudera-scm-agent start (code=exited, status=0/SUCCESS)

Jun 11 17:09:50 node105.yinzhengjie.org.cn systemd[1]: Starting LSB: Cloudera SCM Agent...
Jun 11 17:09:51 node105.yinzhengjie.org.cn su[17733]: (to root) root on none
Jun 11 17:09:51 node105.yinzhengjie.org.cn su[17733]: pam_limits(su:session): wrong limit value 'unlimited ' for limit type 'hard'
Jun 11 17:09:51 node105.yinzhengjie.org.cn cloudera-scm-agent[17715]: Starting cloudera-scm-agent: [  OK  ]
Jun 11 17:09:51 node105.yinzhengjie.org.cn systemd[1]: Started LSB: Cloudera SCM Agent.

[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# ansible cdh -m shell -a 'systemctl status cloudera-scm-agent'          #查看各个agent节点的状态

5>.安装CDH

  详情请参考:https://www.cnblogs.com/yinzhengjie/p/10372369.html

  其实我们在部署CM时,可以不用手动在各个主机上安装和配置Cloudera Manager Agent,完全可以基于Clouder Server Server端的Web UI来安装Cloudera Manager Agent服务,但博主并不推荐大家使用这种方法。如果感兴趣的小伙伴可以参考一些我之前配置的笔记:https://www.cnblogs.com/yinzhengjie/p/10413793.html。

 

posted @ 2019-06-16 06:55  尹正杰  阅读(1042)  评论(0编辑  收藏  举报