소스 검색

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

Alejandro Fernandez 11 년 전
부모
커밋
cb8987357f
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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':