RedHat(Centos)6.4全自动安装Ambari2.6.0详细教程(图文一步步)(5)

2019-03-09 23:33

查看日志解决问题

6.5. 升级集群为HA集群

检查集群没有告警后,点击HDFS-service actions-namnode HA选项,开始升级。基本没有什么好选择的,根据步骤来就行了。注意即使使用root用户执行的命令也必须全部copy!!

在一路好运的陪伴下,你终于可以看见下图了。恭喜恭喜!!!!!!

检查集群没有告警后,点击Yarn-service actions- Enable ResourceManager HA选项,开始升级。基本没有什么好选择的,根据步骤来就行了。注意即使使用root用户执行的命令也必须全部copy!!

7. 给HDP集群安装Kerberos 7.1. 安装KDC

在集群中找台机器安装KDC,这里我们使用Hadoop01 [root@hadoop01 ~]# yum install krb5-server krb5-libs krb5-workstation Loaded plugins: product-id, refresh-packagekit, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Repository HDP-UTILS-1.1.0.21 is listed more than once in the configuration Repository InstallMedia is listed more than once in the configuration HDP-2.6 | 2.9 kB 00:00 HDP-UTILS-1.1.0.21 | 2.9 kB 00:00 InstallMedia | 2.9 kB 00:00 addons | 4.0 kB 00:00 ambari-2.5.0.3 | 2.9 kB 00:00 base | 3.9 kB 00:00 extras | 2.9 kB 00:00 Setting up Install Process Package krb5-libs-1.10.3-10.el6.x86_64 already installed and latest version Package krb5-workstation-1.10.3-10.el6.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package krb5-server.x86_64 0:1.10.3-10.el6 will be installed HDP-2.6/filelists_db | 455 kB 00:00 HDP-UTILS-1.1.0.21/filelists_db | 95 kB 00:00 InstallMedia/filelists_db | 455 kB 00:00 addons/filelists_db | 5.9 MB 00:00 ambari-2.5.0.3/filelists_db | 147 kB 00:00 base/filelists_db | 3.7 MB 00:00 extras/filelists_db | 2.2 kB 00:00 --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================================================================================================================== Package Arch Version Repository Size ==================================================================================================================================================================================================== Installing: krb5-server x86_64 1.10.3-10.el6 addons 2.0 M Transaction Summary ==================================================================================================================================================================================================== Install 1 Package(s) Total download size: 2.0 M Installed size: 2.8 M Is this ok [y/N]: y^H^CExiting on user Command [root@hadoop01 ~]# ^C [root@hadoop01 ~]# yum install krb5-server krb5-libs krb5-workstation Loaded plugins: product-id, refresh-packagekit, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Repository HDP-UTILS-1.1.0.21 is listed more than once in the configuration Repository InstallMedia is listed more than once in the configuration Setting up Install Process Package krb5-libs-1.10.3-10.el6.x86_64 already installed and latest version Package krb5-workstation-1.10.3-10.el6.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package krb5-server.x86_64 0:1.10.3-10.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================================= Package Arch Version Repository Size ================================================================================================================================================= Installing: krb5-server x86_64 1.10.3-10.el6 addons 2.0 M Transaction Summary ================================================================================================================================================= Install 1 Package(s) Total download size: 2.0 M Installed size: 2.8 M Is this ok [y/N]: y Downloading Packages: krb5-server-1.10.3-10.el6.x86_64.rpm | 2.0 MB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : krb5-server-1.10.3-10.el6.x86_64 1/1 Verifying : krb5-server-1.10.3-10.el6.x86_64 1/1 Installed: krb5-server.x86_64 0:1.10.3-10.el6 Complete!

7.2. 检测主机名与IP映射

[root@hadoop01 ~]# cat /etc/hosts 172.29.0.25 hadoop-db 172.29.0.226 hadoop01 172.29.0.227 hadoop02 172.29.0.228 hadoop03 172.29.0.229 hadoop04 172.29.0.21 hadoop05 172.29.0.22 hadoop06 172.29.0.23 hadoop07


RedHat(Centos)6.4全自动安装Ambari2.6.0详细教程(图文一步步)(5).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:饮用水公司管理制度

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: