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/d1293e01
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d1293e01
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d1293e01

Branch: refs/heads/branch-feature-AMBARI-18456
Commit: d1293e01841d0975d1a3d76dbf676ef27a4bace9
Parents: 51ec956
Author: Siddharth Wagle <swa...@hortonworks.com>
Authored: Wed Dec 7 12:22:55 2016 -0800
Committer: Siddharth Wagle <swa...@hortonworks.com>
Committed: Wed Dec 7 12:22:55 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/d1293e01/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 6cf743e..1795227 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
@@ -369,6 +369,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