ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From echekans...@apache.org
Subject ambari git commit: AMBARI-20670. Node manager start extremely slow when YARN NM local dirs are very large - ut fix (dgrinenko via echekanskiy)
Date Mon, 10 Apr 2017 14:13:17 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 017f37283 -> 10da7925d


AMBARI-20670. Node manager start extremely slow when YARN NM local dirs are very large - ut
fix (dgrinenko via echekanskiy)


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

Branch: refs/heads/branch-2.5
Commit: 10da7925debade3610d1e500aeec08d125cdf2c8
Parents: 017f372
Author: Eugene Chekanskiy <echekanskiy@hortonworks.com>
Authored: Mon Apr 10 17:12:32 2017 +0300
Committer: Eugene Chekanskiy <echekanskiy@hortonworks.com>
Committed: Mon Apr 10 17:12:32 2017 +0300

----------------------------------------------------------------------
 .../src/test/python/stacks/2.0.6/YARN/test_nodemanager.py      | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/10da7925/ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py b/ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py
index 10edb4b..ab5e2cd 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py
@@ -169,8 +169,7 @@ class TestNodeManager(RMFTestCase):
                               mode = 0755,
                               create_parents = True,
                               ignore_failures = True,
-                              cd_access='a',
-                              recursive_mode_flags = {'d': 'a+rwx', 'f': 'a+rw'},
+                              cd_access='a'
                               )
     self.assertResourceCalled('Directory', '/hadoop/yarn/local1',
                               owner = 'yarn',
@@ -178,8 +177,7 @@ class TestNodeManager(RMFTestCase):
                               group = 'hadoop',
                               ignore_failures = True,
                               mode = 0755,
-                              cd_access='a',
-                              recursive_mode_flags = {'d': 'a+rwx', 'f': 'a+rw'}
+                              cd_access='a'
                               )
     self.assertResourceCalled('File', '/var/lib/ambari-agent/data/yarn/yarn_local_dir_mount.hist',
         content = '\n# This file keeps track of the last known mount-point for each dir.\n#
It is safe to delete, since it will get regenerated the next time that the component of the
service starts.\n# However, it is not advised to delete this file since Ambari may\n# re-create
a dir that used to be mounted on a drive but is now mounted on the root.\n# Comments begin
with a hash (#) symbol\n# dir,mount_point\n',


Mime
View raw message