centos6.5
搭建过程可参考:
(1)http://www.ibm.com/developerworks/cn/opensource/os-cn-bigdata-ambari/index.html
(2)http://www.ibm.com/developerworks/cn/opensource/os-cn-bigdata-ambari2/index.html
注意:
(1)配置root用户免登陆,以root登录系统
(2)ambari-server所在的节点用来配置若干个ambari-agent,所以可以配置自己即ambari-server为一个ambari-agent,也可以不配置。
(3)查看NTP服务状态:
- 1
每个节点都要要开启ntp服务:
- 1
(4)关防火墙:
- 1
- 2
- 3
(5)openssl版本太低需要注意:Ambari Agent Registration Failure on RHEL 6.5 Due to OpenSSL
http://zh.hortonworks.com/community/forums/topic/ambari-agent-registration-failure-on-rhel-6-5-due-to-openssl-2/
(6)一个Issue的原因:<<关于CentOS 6下Hadoop占用系统态CPU高的处理办法>>
(7)在Host Checks的过程中,如有Issues全部修复
(8)关SELINUX
查看selinux状态,如果为enable则表示为开启:
- 1
查看selinux的模式:
- 1
关闭selinux:
- 1
- 2
- 1
- 2
- 3
(9)安装cluster的services过程中的问题:
- 1
增加yum安装的timeout,man yum.conf
查看默认的timeout:
- 1
- 2
vim /etc/yum.conf
增加(修改)timeout = 600
清理yum缓存:
- 1
将服务器上的最新的软件包信息 现在本地缓存,以提高 搜索 安装软件的速度
- 1
(10)由于以下错误安装失败:
- 1
修改配置文件:
vim /etc/ambari-server/conf/ambari.properties
- 1
- 2
官方在centos6.x上安装的教程:
https://cwiki.apache.org/confluence/display/AMBARI/Start+Guide+Using+Centos+6.x