Browse Source

AMBARI-7060. Ambari Falcon config setup issue - localhost must be replaced with the falcon host. (Max Shepel via onechiporenko)

Oleg Nechiporenko 11 năm trước cách đây
mục cha
commit
9f6b7b3867
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      ambari-web/app/models/service_config.js

+ 4 - 0
ambari-web/app/models/service_config.js

@@ -501,6 +501,10 @@ App.ServiceConfigProperty = Ember.Object.extend({
       case 'storm.local.dir':
         this.unionAllMountPoints(isOnlyFirstOneNeeded, localDB);
         break;
+      case '*.broker.url':
+        var falconServerHost = masterComponentHostsInDB.findProperty('component', 'FALCON_SERVER').hostName;
+        this.setDefaultValue('localhost', falconServerHost);
+        break;
     }
   },