Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 9c5d34b00 -> 21e3554fb


AMBARI-19115. Metrics Monitor start failed: ERROR: Cannot write pid. (aonischuk 
via swagle)


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

Branch: refs/heads/branch-2.5
Commit: 21e3554fb478aebfbda98d1a0cdedcd6a46219ed
Parents: 9c5d34b
Author: Siddharth Wagle <[email protected]>
Authored: Wed Dec 7 12:22:20 2016 -0800
Committer: Siddharth Wagle <[email protected]>
Committed: Wed Dec 7 12:22:20 2016 -0800

----------------------------------------------------------------------
 .../common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/21e3554f/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py
 
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py
index feabdb2..d9fd9f6 100644
--- 
a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py
+++ 
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py
@@ -364,6 +364,7 @@ def ams(name=None, action=None):
     Directory(params.ams_monitor_pid_dir,
               owner=params.ams_user,
               group=params.user_group,
+              cd_access="a",
               mode=0755,
               create_parents = True
     )

Reply via email to