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 762DE108E2 for ; Mon, 20 Jan 2014 17:51:30 +0000 (UTC) Received: (qmail 8639 invoked by uid 500); 20 Jan 2014 17:51:28 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 8580 invoked by uid 500); 20 Jan 2014 17:51:28 -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 8556 invoked by uid 99); 20 Jan 2014 17:51:28 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jan 2014 17:51:27 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 0944E1D44E7; Mon, 20 Jan 2014 17:51:27 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7881681468269778012==" MIME-Version: 1.0 Subject: Review Request 17126: HostCleanup should also clean /tmp/hadoop-* From: "Dmytro Shkvyra" To: "Mahadev Konar" , "Dmitro Lisnichenko" Cc: "Ambari" , "Dmytro Shkvyra" Date: Mon, 20 Jan 2014 17:51:27 -0000 Message-ID: <20140120175127.4981.42881@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Dmytro Shkvyra" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/17126/ X-Sender: "Dmytro Shkvyra" Reply-To: "Dmytro Shkvyra" X-ReviewRequest-Repository: ambari --===============7881681468269778012== 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/17126/ ----------------------------------------------------------- Review request for Ambari, Dmitro Lisnichenko and Mahadev Konar. Bugs: AMBARI-4354 https://issues.apache.org/jira/browse/AMBARI-4354 Repository: ambari Description ------- HostCleanup should also check the following directories (and clean): /tmp/hadoop-* For example, if the /tmp/hadoop-nagios directory is present, but it doesn't have the right ownership/perms for nagios user, the Hive Metastore Nagios alert will occur. I saw this after doing an install on an un-clean machine. {code} Hive Metastore status CRIT for about a minute CRITICAL: Error accessing Hive Metastore status [Error creating temp dir in hadoop.tmp.dir /tmp/hadoop-nagios due to Permission denied] {code} An easy way to reproduce this: 1) Perform install 2) Go to Nagios server machine 3) Change perms on /tmp/hadoop-nagios so that the nagios user does not have access 4) The Nagios alert will fire Diffs ----- ambari-agent/src/main/python/ambari_agent/HostCheckReportFileHandler.py c671584 Diff: https://reviews.apache.org/r/17126/diff/ Testing ------- Tested on 1.3.3 Thanks, Dmytro Shkvyra --===============7881681468269778012==--