You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2016/09/14 18:32:33 UTC

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

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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 1b4a38dde7a683c7e1b282a14bf2f39afbfafed1
Parents: 9595706
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:56:49 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/1b4a38dd/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);
         }