Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 17F05200B32 for ; Wed, 8 Jun 2016 18:11:02 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 16C8E160A5F; Wed, 8 Jun 2016 16:11:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 66112160A2E for ; Wed, 8 Jun 2016 18:11:01 +0200 (CEST) Received: (qmail 64339 invoked by uid 500); 8 Jun 2016 16:10:57 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 64294 invoked by uid 99); 8 Jun 2016 16:10:57 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2016 16:10:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5E6D5DFBA8; Wed, 8 Jun 2016 16:10:57 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aonishuk@apache.org To: commits@ambari.apache.org Date: Wed, 08 Jun 2016 16:10:57 -0000 Message-Id: <4cab2deaea3c4c148190a2b1215402a0@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] ambari git commit: AMBARI-17123. Accumulo master start fails on non-root + umask 027 (aonishuk) archived-at: Wed, 08 Jun 2016 16:11:02 -0000 Repository: ambari Updated Branches: refs/heads/branch-2.4 c80dd0dfc -> a3f72bf28 refs/heads/trunk 0c10fb190 -> 963985e42 AMBARI-17123. Accumulo master start fails on non-root + umask 027 (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/963985e4 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/963985e4 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/963985e4 Branch: refs/heads/trunk Commit: 963985e42691ab6a74fcad56c0aafd9ef6c309a3 Parents: 0c10fb1 Author: Andrew Onishuk Authored: Wed Jun 8 19:10:49 2016 +0300 Committer: Andrew Onishuk Committed: Wed Jun 8 19:10:49 2016 +0300 ---------------------------------------------------------------------- .../ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/963985e4/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py b/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py index ed6ba68..f65b68a 100644 --- a/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py +++ b/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py @@ -221,7 +221,7 @@ def setup_conf_dir(name=None): # 'master' or 'tserver' or 'monitor' or 'gc' or ' logoutput=True, user=params.accumulo_user) finally: - os.remove(passfile) + File(passfile, action = "delete") if name == 'tracer': if params.security_enabled and params.has_secure_user_auth: