Repository: ambari Updated Branches: refs/heads/trunk 2b7c97fc1 -> caa2d3e22
AMBARI-17633: yarn.nodemanager.remote-app-log-dir should be added stickybit (Masahiro Tanaka via jluniya) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/caa2d3e2 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/caa2d3e2 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/caa2d3e2 Branch: refs/heads/trunk Commit: caa2d3e225881e9fdab82a234afb6f7a21eadd28 Parents: 2b7c97f Author: Jayush Luniya <[email protected]> Authored: Fri Aug 5 10:12:25 2016 -0700 Committer: Jayush Luniya <[email protected]> Committed: Fri Aug 5 10:12:25 2016 -0700 ---------------------------------------------------------------------- .../common-services/YARN/2.1.0.2.0/package/scripts/yarn.py | 2 +- .../src/test/python/stacks/2.0.6/YARN/test_historyserver.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/caa2d3e2/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py b/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py index 93c3aaa..a3a3a06 100644 --- a/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py +++ b/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py @@ -112,7 +112,7 @@ def yarn(name=None, config_dir=None): type="directory", owner=params.yarn_user, group=params.user_group, - mode=0777, + mode=01777, recursive_chmod=True ) http://git-wip-us.apache.org/repos/asf/ambari/blob/caa2d3e2/ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py b/ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py index 4600063..ef79f10 100644 --- a/ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py +++ b/ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py @@ -214,7 +214,7 @@ class TestHistoryServer(RMFTestCase): hadoop_bin_dir = '/usr/bin', type = 'directory', action = ['create_on_execute'], hdfs_resource_ignore_file='/var/lib/ambari-agent/data/.hdfs_resource_ignore', hdfs_site=self.getConfig()['configurations']['hdfs-site'], principal_name=UnknownConfigurationMock(), default_fs='hdfs://c6401.ambari.apache.org:8020', - mode = 0777, + mode = 01777, ) self.assertResourceCalled('HdfsResource', '/tmp', immutable_paths = self.DEFAULT_IMMUTABLE_PATHS, @@ -481,7 +481,7 @@ class TestHistoryServer(RMFTestCase): hadoop_bin_dir = '/usr/bin', type = 'directory', action = ['create_on_execute'], hdfs_resource_ignore_file='/var/lib/ambari-agent/data/.hdfs_resource_ignore', hdfs_site=self.getConfig()['configurations']['hdfs-site'], principal_name='hdfs', default_fs='hdfs://c6401.ambari.apache.org:8020', - mode = 0777, + mode = 01777, ) self.assertResourceCalled('HdfsResource', '/tmp',
