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:21:33 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1.2 e81746f25 -> 3ec5503a1


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

Branch: refs/heads/branch-2.1.2
Commit: 3ec5503a17863879527dd3235d6e48df03a1d301
Parents: e81746f
Author: Siddharth Wagle <swagle@hortonworks.com>
Authored: Tue Sep 22 11:13:07 2015 -0700
Committer: Siddharth Wagle <swagle@hortonworks.com>
Committed: Tue Sep 22 11:13:07 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/3ec5503a/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