You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2015/09/22 20:21:33 UTC

ambari git commit: AMBARI-13193. Metrics Monitor Start fails after manually enabling kerberos. (swagle)

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 <sw...@hortonworks.com>
Authored: Tue Sep 22 11:13:07 2015 -0700
Committer: Siddharth Wagle <sw...@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,