ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
Subject ambari git commit: AMBARI-13193. Metrics Monitor Start fails after manually enabling kerberos. (swagle)
Date Tue, 22 Sep 2015 18:22:28 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 2ecda9da7 -> 0b2c1822d


AMBARI-13193. Metrics Monitor Start fails after manually enabling kerberos. (swagle)


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

Branch: refs/heads/trunk
Commit: 0b2c1822d0659264e329c415e341c65ed3fb8989
Parents: 2ecda9d
Author: Siddharth Wagle <swagle@hortonworks.com>
Authored: Tue Sep 22 11:22:24 2015 -0700
Committer: Siddharth Wagle <swagle@hortonworks.com>
Committed: Tue Sep 22 11:22:24 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/0b2c1822/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 50a29d1..caac937 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
@@ -348,6 +348,9 @@ def ams(name=None):
               cd_access="a",
               recursive=True)
 
+    Execute(format("{sudo} chown -R {ams_user}:{user_group} {ams_monitor_dir}")
+    )
+
     TemplateConfig(
       format("{ams_monitor_conf_dir}/metric_monitor.ini"),
       owner=params.ams_user,


Mime
View raw message