ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
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 GMT
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 <swagle@hortonworks.com>
Authored: Thu Jul 28 14:16:30 2016 -0700
Committer: Siddharth Wagle <swagle@hortonworks.com>
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_))


Mime
View raw message