You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2016/09/13 20:55:03 UTC

ambari git commit: AMBARI-18382. Enable Kerberos Wizard: Metrics collector fails to start on a cluster with Ranger installed. (jaimin)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 8f1b8c5f7 -> a71d673d0


AMBARI-18382. Enable Kerberos Wizard: Metrics collector fails to start on a cluster with Ranger installed. (jaimin)


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

Branch: refs/heads/branch-2.4
Commit: a71d673d0f88827d19e4215f12383bad038f38a7
Parents: 8f1b8c5
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Tue Sep 13 13:43:57 2016 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Tue Sep 13 13:43:57 2016 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/main/admin/kerberos/step4_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a71d673d/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js b/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js
index 91a40dd..29cbfff 100644
--- a/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js
+++ b/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js
@@ -511,7 +511,7 @@ App.KerberosWizardStep4Controller = App.WizardStep7Controller.extend(App.AddSecu
     Array.prototype.push.apply(self.getServicesConfigObject().get('configs'), newProperties);
     Em.keys(groupedProperties.update).forEach(function(fileName) {
       Em.keys(groupedProperties.update[fileName]).forEach(function(propertyName) {
-        var configProperty = allConfigs.findProperty('name', propertyName);
+        var configProperty = allConfigs.filterProperty('filename', fileName).findProperty('name', propertyName);
         if (configProperty) {
           self._updateConfigByRecommendation(configProperty, groupedProperties.update[fileName][propertyName], true, false);
         }