Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 02d041a92 -> 38ee1c290


AMBARI-17744. Enabling Kerberos on non-HDFS cluster with AMS fails. (swagle)


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

Branch: refs/heads/branch-2.4
Commit: 38ee1c2901466d99a25c871d63f7c23fbc9a0c1d
Parents: 02d041a
Author: Siddharth Wagle <[email protected]>
Authored: Fri Jul 15 13:22:22 2016 -0700
Committer: Siddharth Wagle <[email protected]>
Committed: Fri Jul 15 14:14:30 2016 -0700

----------------------------------------------------------------------
 .../common-services/AMBARI_METRICS/0.1.0/kerberos.json          | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/38ee1c29/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/kerberos.json
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/kerberos.json
 
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/kerberos.json
index d84ed02..51f541f 100644
--- 
a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/kerberos.json
+++ 
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/kerberos.json
@@ -12,7 +12,10 @@
           "name": "METRICS_COLLECTOR",
           "identities": [
             {
-              "name": "/HDFS/NAMENODE/hdfs"
+              "name": "/HDFS/NAMENODE/hdfs",
+              "when" : {
+                "contains" : ["services", "HDFS"]
+              }
             },
             {
               "name": "ams_hbase_master_hbase",

Reply via email to