hadoop-12-安装ambari-agent
hadoop-12-安装ambari-agent
在所有的机器上面安装ambari-agent
1, cd /etc/yum.repos.d/
vi 三个文件
vi ambari.repo
#VERSION_NUMBER=2.5.0.3-7
[ambari-2.5.0.3]
name=ambari Version - ambari-2.5.0.3
baseurl=http://server-1/ambari/centos6
gpgcheck=0
vi HDP.repo
[HDP-2.6.0.3-8]
name=HDP-2.6.0.3-8
baseurl=http://server-1/HDP/centos6/
gpgcheck=0
path=/
enabled=1
gpgcheck=0
vi HDP-UTILS.repo
[HDP-UTILS-1.1.0.21]
name=HDP-UTILS-1.1.0.21
baseurl=http://server-1/HDP-UTILS-1.1.0.21/repos/centos6/
gpgcheck=0
path=/
enabled=1
gpgcheck=0
2,yum install ambari-agent
3, vi /etc/ambari-agent/conf/ambari-agent.ini
hostname修改server-1
4,service ambari-agent start
service ambari-agent status