ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbeerbo...@apache.org
Subject git commit: AMBARI-6315 - ATS failed to start (Jonathan Hurley via tbeerbower)
Date Mon, 30 Jun 2014 10:58:23 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk d51d7c68f -> d4a0041d2


AMBARI-6315 - ATS failed to start (Jonathan Hurley via tbeerbower)


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

Branch: refs/heads/trunk
Commit: d4a0041d2a2526f0253e17ffcfb58ed4090fe2f7
Parents: d51d7c6
Author: tbeerbower <tbeerbower@hortonworks.com>
Authored: Mon Jun 30 06:55:37 2014 -0400
Committer: tbeerbower <tbeerbower@hortonworks.com>
Committed: Mon Jun 30 06:58:08 2014 -0400

----------------------------------------------------------------------
 .../stacks/HDP/2.0.6/services/YARN/package/scripts/yarn.py        | 3 ++-
 .../src/test/python/stacks/2.1/YARN/test_apptimelineserver.py     | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d4a0041d/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/yarn.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/yarn.py
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/yarn.py
index 142626d..2674b9c 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/yarn.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/yarn.py
@@ -117,7 +117,8 @@ def yarn(name = None):
   elif name == 'apptimelineserver':
     Directory(params.ats_leveldb_dir,
        owner=params.yarn_user,
-       group=params.user_group
+       group=params.user_group,
+       recursive=True
     )
 
   File(params.rm_nodes_exclude_path,

http://git-wip-us.apache.org/repos/asf/ambari/blob/d4a0041d/ambari-server/src/test/python/stacks/2.1/YARN/test_apptimelineserver.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.1/YARN/test_apptimelineserver.py b/ambari-server/src/test/python/stacks/2.1/YARN/test_apptimelineserver.py
index 78ae5b8..1673b78 100644
--- a/ambari-server/src/test/python/stacks/2.1/YARN/test_apptimelineserver.py
+++ b/ambari-server/src/test/python/stacks/2.1/YARN/test_apptimelineserver.py
@@ -145,6 +145,7 @@ class TestAppTimelineServer(RMFTestCase):
     self.assertResourceCalled('Directory', '/var/log/hadoop-yarn/timeline',
                               owner = 'yarn',
                               group = 'hadoop',
+                              recursive = True
                               )
     self.assertResourceCalled('File', '/etc/hadoop/conf/yarn.exclude',
                               owner = 'yarn',


Mime
View raw message