You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2017/04/11 11:14:42 UTC
[20/22] ambari git commit: AMBARI-20670. Node manager start extremely
slow when YARN NM local dirs are very large - ut fix (dgrinenko via
echekanskiy)
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/22e1e7eb
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/22e1e7eb
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/22e1e7eb
Branch: refs/heads/branch-3.0-perf
Commit: 22e1e7ebc1b6cc5af75b9e552d39c79936d89316
Parents: 40ab38e
Author: Eugene Chekanskiy <ec...@hortonworks.com>
Authored: Mon Apr 10 17:08:50 2017 +0300
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Tue Apr 11 14:14:12 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/22e1e7eb/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',