How to use the yarn.ats.url function in yarn

To help you get started, we’ve selected a few yarn examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github apache / ambari / contrib / views / jobs / src / main / resources / ui / app / scripts / mappers / application_status_mapper.js View on Github external
getInstanceParametersSuccessCallback: function (data) {
    var atsURLParameter = data.parameters['yarn.ats.url'];
    var resourceManagerURLParameter = data.parameters['yarn.resourcemanager.url'];
    if (atsURLParameter) {
      App.set('atsURL', atsURLParameter);
      App.set('resourceManagerURL', resourceManagerURLParameter);
    } else {
      this.getClusterName();
    }
  },