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:13 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 34bbd3eaa -> 7fbefcd2e


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/7fbefcd2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7fbefcd2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7fbefcd2

Branch: refs/heads/branch-2.4
Commit: 7fbefcd2e0fde79e0e75bf0f003c03c5b0023bb5
Parents: 34bbd3e
Author: Siddharth Wagle <swagle@hortonworks.com>
Authored: Thu Jul 28 14:15:14 2016 -0700
Committer: Siddharth Wagle <swagle@hortonworks.com>
Committed: Thu Jul 28 14:15:20 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/7fbefcd2/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