浏览代码

AMBARI-5481. yarn.timeline-service.address by default should point to ATS host instead of 0.0.0.0. (alexantonenko)

Alex Antonenko 11 年之前
父节点
当前提交
6fa376aeae
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      ambari-web/app/models/service_config.js

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

@@ -351,6 +351,10 @@ App.ServiceConfigProperty = Ember.Object.extend({
         var hsHost = masterComponentHostsInDB.findProperty('component', 'APP_TIMELINE_SERVER').hostName;
         this.setDefaultValue("(0.0.0.0)(?=:)", hsHost);
         break;
+      case 'yarn.timeline-service.address':
+        var hsHost = masterComponentHostsInDB.findProperty('component', 'APP_TIMELINE_SERVER').hostName;
+        this.setDefaultValue("(0.0.0.0)(?=:)", hsHost);
+        break;
       case 'nm_hosts':
         this.set('value', slaveComponentHostsInDB.findProperty('componentName', 'NODEMANAGER').hosts.mapProperty('hostName'));
         break;