Created on 03-11-2016 02:00 AM - edited 09-16-2022 03:08 AM
Created 03-11-2016 02:14 AM
That's easy, if you are on CentOS/RHEL
yum remove ambari-agent ... make sure it's gone: yum list ambari-agent yum install ambari-agent
Before removal save the config file if needed, it's in /etc/ambari-agent/conf/ambari-agent.ini. By the way, you can upgrade it by "yum upgrade" after providing a new repo file in /etc/yum.repos.d
Created 03-11-2016 02:14 AM
That's easy, if you are on CentOS/RHEL
yum remove ambari-agent ... make sure it's gone: yum list ambari-agent yum install ambari-agent
Before removal save the config file if needed, it's in /etc/ambari-agent/conf/ambari-agent.ini. By the way, you can upgrade it by "yum upgrade" after providing a new repo file in /etc/yum.repos.d
Created 03-11-2016 02:57 AM
There are already some service on that node before reinstall the agent,is that OK?
Created 03-11-2016 03:05 AM
Usually no problems, provided port 8670 is available for the agent to listen to, and iptables or a firewall etc is not blocking the agent to connect to Ambari server on ports 8080, 8440 and 8441. Also need Python-2.6.x.
Created 03-11-2016 04:06 AM
Ths,i'll have a try