Pārlūkot izejas kodu

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

Alex Antonenko 11 gadi atpakaļ
vecāks
revīzija
6fa376aeae
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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;