Upgrade the Ambari Agents
-
Upgrade all Ambari Agents. On each host in your cluster
running an Ambari Agent:
-
For RHEL/CentOS/Oracle Linux:
yum upgrade ambari-agent
-
For SLES:
zypper up ambari-agent
NoteIgnore the warning that begins with "There are some running programs that use files deleted by recent upgrade".
ImportantWhen performing upgrade on SLES, you will see a message "There is an update candidate for 'ambari-agent', but it is from different vendor. Use 'zypper install ambari-agent-2.6-143.noarch' to install this candidate". You will need to use yast to update the package, as follows:
- Display the command line UI for YaST by
entering:
> yast
- Choose Software > Software Management, then click Enter.
- In the Search Phrase field, enter ambari-agent, then click the Enter button.
- On the right side you will see the search result ambari-agent 2.6. Click Actions, choose Update, then click the Enter button.
- Go to Accept, and click enter.
- Display the command line UI for YaST by
entering:
-
For Ubuntu/Debian:
apt-get update apt-get install ambari-agent
-
- After the upgrade process completes, check each host to make sure the new files have been
installed:
- For RHEL/CentOS/Oracle Linux 7:
-
rpm -qa | grep ambari-agent
- For SLES 12:
-
rpm -qa | grep ambari-agent
- For Ubuntu 14:
-
dpkg -l ambari-agent
- For Ubuntu 16:
-
dpkg -l ambari-agent
- For Debian 9:
-
dpkg -l ambari-agent