Browse Source

AMBARI-8379. Falcon lineage needs changes to startup.properties (alejandro)

Alejandro Fernandez 10 years ago
parent
commit
cb8987357f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      ambari-web/app/models/service_config.js

+ 3 - 3
ambari-web/app/models/service_config.js

@@ -698,9 +698,9 @@ App.ServiceConfigProperty = Ember.Object.extend({
         break;
       case '*.falcon.graph.storage.directory':
       case '*.falcon.graph.serialize.path':
-        components = masterComponentHostsInDB.findProperty('componentName', 'FALCON_SERVER');
-        components.hosts.forEach(function (host) {
-          setOfHostNames.push(host.hostName);
+        components = masterComponentHostsInDB.filterProperty('component', 'FALCON_SERVER');
+        components.forEach(function (component) {
+          setOfHostNames.push(component.hostName);
         }, this);
         break;
       case 'log.dirs':