- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to reinstall an ambari-agent in HDP cluster?
Created on 03-11-2016 02:00 AM - edited 09-16-2022 03:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created 03-11-2016 02:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are already some service on that node before reinstall the agent,is that OK?
Created 03-11-2016 03:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ths,i'll have a try
