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 7E2F4200B54 for ; Thu, 28 Jul 2016 23:16:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7CB53160A85; Thu, 28 Jul 2016 21:16:36 +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 C57E6160A56 for ; Thu, 28 Jul 2016 23:16:35 +0200 (CEST) Received: (qmail 8214 invoked by uid 500); 28 Jul 2016 21:16:35 -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 8204 invoked by uid 99); 28 Jul 2016 21:16:35 -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; Thu, 28 Jul 2016 21:16:35 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D9B13E0100; Thu, 28 Jul 2016 21:16:34 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: swagle@apache.org To: commits@ambari.apache.org Message-Id: <0b3b38e1bb594e25be8251a903be4ea6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-17888. Create configuration flag to prevent changing of directory permissions. Unit test fix. Date: Thu, 28 Jul 2016 21:16:34 +0000 (UTC) archived-at: Thu, 28 Jul 2016 21:16:36 -0000 Repository: ambari Updated Branches: refs/heads/trunk 295e8de48 -> 775712521 AMBARI-17888. Create configuration flag to prevent changing of directory permissions. Unit test fix. Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/77571252 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/77571252 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/77571252 Branch: refs/heads/trunk Commit: 77571252178955c7136d794ceefb5d7ec914b99c Parents: 295e8de Author: Siddharth Wagle Authored: Thu Jul 28 14:16:30 2016 -0700 Committer: Siddharth Wagle Committed: Thu Jul 28 14:16:30 2016 -0700 ---------------------------------------------------------------------- .../resource_management/libraries/functions/mounted_dirs_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/77571252/ambari-common/src/main/python/resource_management/libraries/functions/mounted_dirs_helper.py ---------------------------------------------------------------------- diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/mounted_dirs_helper.py b/ambari-common/src/main/python/resource_management/libraries/functions/mounted_dirs_helper.py index 61c9768..0ebd7e2 100644 --- a/ambari-common/src/main/python/resource_management/libraries/functions/mounted_dirs_helper.py +++ b/ambari-common/src/main/python/resource_management/libraries/functions/mounted_dirs_helper.py @@ -149,7 +149,7 @@ def handle_mounted_dirs(func, dirs_string, history_filename, update_cache=True): may_manage_this_dir = False Logger.warning("Skipping creation of another directory on the following mount: " + curr_mount_point + " . Please turn off cluster-env/one_dir_per_partition or handle the situation manually.") else: - Logger.warning("Trying to create another directory on the following mount: " + curr_mount_point) + Logger.warning("Trying to create another directory on the following mount: " + str(curr_mount_point)) if may_manage_this_dir: Logger.info("Forcefully ensuring existence and permissions of the directory: {0}".format(dir_))