AMBARI-7060. Ambari Falcon config setup issue - localhost must be replaced with the falcon host. (Max Shepel via onechiporenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9f6b7b38 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9f6b7b38 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9f6b7b38 Branch: refs/heads/branch-alerts-dev Commit: 9f6b7b3867bcf6fe6a07404c84846250a56924eb Parents: 6b7e796 Author: Oleg Nechiporenko <[email protected]> Authored: Thu Aug 28 19:01:34 2014 +0300 Committer: Oleg Nechiporenko <[email protected]> Committed: Thu Aug 28 19:01:34 2014 +0300 ---------------------------------------------------------------------- ambari-web/app/models/service_config.js | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/9f6b7b38/ambari-web/app/models/service_config.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/models/service_config.js b/ambari-web/app/models/service_config.js index 2df2ad7..8326dd4 100644 --- a/ambari-web/app/models/service_config.js +++ b/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; } },
