Created on 03-07-2018 06:52 PM - edited 08-18-2019 03:01 AM
When trying to add an agent I get warning messages:
The command I am trying to execute:
python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py --silent --skip=users
When looking for the file i notice that ambari_agent doesn't exist under site-packages
[root@HOST usr]# ls /usr/lib/python2.6/site-packages/ resource_management resource_monitoring
Did I install the ambari-agent incorrectly? How do i get HostCleanup.py?
[root@HOST usr]# yum info ambari-server Loaded plugins: langpacks, ulninfo Installed Packages Name : ambari-server Arch : x86_64 Version : 2.6.1.3 Release : 3 Size : 781 M Repo : installed From repo : ambari-2.6.1.3 Summary : Ambari Server URL : http://www.apache.org License : (c) Apache Software Foundation Description : Maven Recipe: RPM Package.
Created 03-08-2018 09:30 AM
You might be using Ambari 2.6.1.3
The "HostCleanup.py" script is moved to the following location:
# ls -l /usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py -rwxr-xr-x. 1 root root 22464 Feb 6 13:03 /usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py
.
For the change details review please refer to: https://issues.apache.org/jira/browse/AMBARI-22830
Changes can be seen here: https://github.com/apache/ambari/pull/229/files
Created 03-08-2018 09:30 AM
You might be using Ambari 2.6.1.3
The "HostCleanup.py" script is moved to the following location:
# ls -l /usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py -rwxr-xr-x. 1 root root 22464 Feb 6 13:03 /usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py
.
For the change details review please refer to: https://issues.apache.org/jira/browse/AMBARI-22830
Changes can be seen here: https://github.com/apache/ambari/pull/229/files