Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 90F8911AD9 for ; Wed, 18 Jun 2014 16:55:46 +0000 (UTC) Received: (qmail 75671 invoked by uid 500); 18 Jun 2014 16:55:46 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 75643 invoked by uid 500); 18 Jun 2014 16:55:46 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 75629 invoked by uid 99); 18 Jun 2014 16:55:46 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2014 16:55:46 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 1735A1DB098; Wed, 18 Jun 2014 16:55:36 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2243460718165840785==" MIME-Version: 1.0 Subject: Re: Review Request 22509: HostCleanup.py doesn't cleanup host on SUSE From: "Sumit Mohanty" To: "Sumit Mohanty" , "Dmitro Lisnichenko" Cc: "Andrew Onischuk" , "Ambari" Date: Wed, 18 Jun 2014 16:55:36 -0000 Message-ID: <20140618165536.13794.66610@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Sumit Mohanty" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/22509/ X-Sender: "Sumit Mohanty" References: <20140618143915.6312.40651@reviews.apache.org> In-Reply-To: <20140618143915.6312.40651@reviews.apache.org> Reply-To: "Sumit Mohanty" X-ReviewRequest-Repository: ambari --===============2243460718165840785== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/22509/#review46093 ----------------------------------------------------------- Ship it! Ship It! - 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 > > --===============2243460718165840785==--