ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject ambari git commit: AMBARI-16839. Need ability to ignoreBadMounts for YARN (aonishuk)
Date Wed, 25 May 2016 11:11:23 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 89f6994c3 -> cabd3cc30


AMBARI-16839. Need ability to ignoreBadMounts for YARN (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/cabd3cc3
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/cabd3cc3
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/cabd3cc3

Branch: refs/heads/branch-2.4
Commit: cabd3cc30dd8a1d41d4801f9e6a57ad200b1b785
Parents: 89f6994
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Wed May 25 14:09:27 2016 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Wed May 25 14:11:18 2016 +0300

----------------------------------------------------------------------
 .../libraries/functions/mounted_dirs_helper.py                   | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/cabd3cc3/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 fb005aa..dc7a5cb 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
@@ -111,11 +111,7 @@ def handle_mounted_dirs(func, dirs_string, history_filename, update_cache=True):
   error_messages = []                 # list of error messages to report at the end
   dirs_unmounted = set()         # set of dirs that have become unmounted
 
-  print 20*"="
-  print dirs_string
   dirs_string = ",".join([re.sub(r'^\[.+\]', '', dfs_dir.strip()) for dfs_dir in dirs_string.split(",")])
-  print dirs_string
-  print 20*"="
   for dir in dirs_string.split(","):
     if dir is None or dir.strip() == "":
       continue


Mime
View raw message