<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: When attempting to add abari-agent: Can't find HostCleanup.py in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/When-attempting-to-add-abari-agent-Can-t-find-HostCleanup-py/m-p/176023#M75499</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69350/apolonioleonardo.html" nodeid="69350"&gt;@Leonardo Apolonio&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You might be using &lt;STRONG&gt;Ambari 2.6.1.3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The&lt;STRONG&gt; "HostCleanup.py"&lt;/STRONG&gt; script is moved to the following location:&lt;/P&gt;&lt;PRE&gt;# 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&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;For the change details review please refer to:   &lt;A href="https://issues.apache.org/jira/browse/AMBARI-22830" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-22830&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Changes can be seen here: &lt;A href="https://github.com/apache/ambari/pull/229/files" target="_blank"&gt;https://github.com/apache/ambari/pull/229/files&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Mar 2018 17:30:30 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-03-08T17:30:30Z</dc:date>
    <item>
      <title>When attempting to add abari-agent: Can't find HostCleanup.py</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/When-attempting-to-add-abari-agent-Can-t-find-HostCleanup-py/m-p/176022#M75498</link>
      <description>&lt;P&gt;
 When trying to add an agent I get warning messages:
 &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="64534-screen-shot-2018-03-07-at-14602-pm.png" style="width: 1648px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19728iF9EF46E36414A1A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="64534-screen-shot-2018-03-07-at-14602-pm.png" alt="64534-screen-shot-2018-03-07-at-14602-pm.png" /&gt;&lt;/span&gt;
&lt;/P&gt;
&lt;P&gt;
 The command I am trying to execute:
&lt;/P&gt;
&lt;PRE&gt;
python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py --silent --skip=users
&lt;/PRE&gt;
&lt;P&gt;
 When looking for the file i notice that ambari_agent doesn't exist under site-packages
&lt;/P&gt;
&lt;PRE&gt;
[root@HOST usr]# ls /usr/lib/python2.6/site-packages/
resource_management  resource_monitoring
&lt;/PRE&gt;
&lt;P&gt;
 Did I install the ambari-agent incorrectly? How do i get HostCleanup.py?
&lt;/P&gt;
&lt;PRE&gt;
[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         : &lt;A href="http://www.apache.org" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.apache.org&lt;/A&gt;
License     : (c) Apache Software Foundation
Description : Maven Recipe: RPM Package.
&lt;/PRE&gt;</description>
      <pubDate>Sun, 18 Aug 2019 10:01:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/When-attempting-to-add-abari-agent-Can-t-find-HostCleanup-py/m-p/176022#M75498</guid>
      <dc:creator>lapolonio</dc:creator>
      <dc:date>2019-08-18T10:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: When attempting to add abari-agent: Can't find HostCleanup.py</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/When-attempting-to-add-abari-agent-Can-t-find-HostCleanup-py/m-p/176023#M75499</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69350/apolonioleonardo.html" nodeid="69350"&gt;@Leonardo Apolonio&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You might be using &lt;STRONG&gt;Ambari 2.6.1.3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The&lt;STRONG&gt; "HostCleanup.py"&lt;/STRONG&gt; script is moved to the following location:&lt;/P&gt;&lt;PRE&gt;# 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&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;For the change details review please refer to:   &lt;A href="https://issues.apache.org/jira/browse/AMBARI-22830" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-22830&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Changes can be seen here: &lt;A href="https://github.com/apache/ambari/pull/229/files" target="_blank"&gt;https://github.com/apache/ambari/pull/229/files&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 17:30:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/When-attempting-to-add-abari-agent-Can-t-find-HostCleanup-py/m-p/176023#M75499</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-03-08T17:30:30Z</dc:date>
    </item>
  </channel>
</rss>

