ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumit Mohanty" <smoha...@hortonworks.com>
Subject Re: Review Request 22509: HostCleanup.py doesn't cleanup host on SUSE
Date Wed, 18 Jun 2014 16:49:54 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22509/#review46091
-----------------------------------------------------------



ambari-agent/src/main/python/ambari_agent/HostCleanup.py
<https://reviews.apache.org/r/22509/#comment81247>

    Is this hard-coding to 2.6 safe? Other changes look good.


- Sumit Mohanty


On June 18, 2014, 2:39 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/22509/
> -----------------------------------------------------------
> 
> (Updated June 18, 2014, 2:39 p.m.)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-6098
>     https://issues.apache.org/jira/browse/AMBARI-6098
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> On SUSE, HostCleanup.py script don't work.  
> Here is an output of it:
> 
>     
>     
>     
>     python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py --silent --skip=""
>     ERROR:HostCleanup:Host check result not found at: /var/lib/ambari-agent/data/hostcheck.result
>     INFO:HostCleanup:Clean-up completed. The output is at /var/lib/ambari-agent/data/hostcleanup.result
>     
> 
> The file itself is:  
> **/var/lib/ambari-agent/data/hostcleanup.result**
>     
>     
>     
>     2014-02-12 17:51:36,354 ERROR Host check result not found at: /var/lib/ambari-agent/data/hostcheck.result
>     2014-02-12 17:51:36,367 INFO Clean-up completed. The output is at /var/lib/ambari-agent/data/hostcleanup.result
>     2014-02-12 17:53:24,183 ERROR Host check result not found at: /var/lib/ambari-agent/data/hostcheck.result
>     2014-02-12 17:53:24,183 INFO Clean-up completed. The output is at /var/lib/ambari-agent/data/hostcleanup.result
>     2014-02-12 18:01:13,492 ERROR Host check result not found at: /var/lib/ambari-agent/data/hostcheck.result
>     2014-02-12 18:01:13,492 INFO Clean-up completed. The output is at /var/lib/ambari-agent/data/hostcleanup.result
>     2014-02-12 18:02:18,787 ERROR Host check result not found at: /var/lib/ambari-agent/data/hostcheck.result
>     2014-02-12 18:02:18,787 INFO Clean-up completed. The output is at /var/lib/ambari-agent/data/hostcleanup.result
>     
> 
> This script was run was run with cluster (ambari-server/agent installed).  
> For example:
> 
>     
>     
>     
>     rpm -qa|grep hadoop
>     hadoop-libhdfs-2.2.0.2.0.6.0-102
>     hadoop-client-2.2.0.2.0.6.0-102
>     teradata-hadoop-builder-1.3.80.27-1
>     hadoop-hdfs-2.2.0.2.0.6.0-102
>     hadoop-lzo-0.5.0-1
>     hadoop-mapreduce-2.2.0.2.0.6.0-102
>     hadoop-yarn-nodemanager-2.2.0.2.0.6.0-102
>     teradata-hadoop-tools-1.3.50.26-1
>     hadoop-2.2.0.2.0.6.0-102
>     hadoop-lzo-native-0.5.0-1
>     hadoop-yarn-2.2.0.2.0.6.0-102
>     
> 
> After ambari-server reset and going to Hosts Confirmation page Hosts warnings
> were only about process, not about packets, users, files etc...  
> See screenshot attached
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/HostCleanup.py 13f9d34 
>   ambari-agent/src/main/python/ambari_agent/HostInfo.py 339f21f 
>   ambari-agent/src/test/python/ambari_agent/TestHostInfo.py 05ddd9f 
> 
> Diff: https://reviews.apache.org/r/22509/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message