[ 
https://issues.apache.org/jira/browse/YARN-4514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15232907#comment-15232907
 ] 

Varun Saxena commented on YARN-4514:
------------------------------------

By computed property I meant something like this.

{code}
host: function() {
  var host = Config.envDefaults.protocolScheme;
  if (Config.envDefaults.localBaseUrl.length > 0) {
    host = host + Config.envDefaults.localBaseUrl + '/';
  }
  host = host + Config.envDefaults.rmWebURL;
  return host;
}.property(),
{code}

> [YARN-3368] Cleanup hardcoded configurations, such as RM/ATS addresses
> ----------------------------------------------------------------------
>
>                 Key: YARN-4514
>                 URL: https://issues.apache.org/jira/browse/YARN-4514
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Wangda Tan
>            Assignee: Sunil G
>         Attachments: YARN-4514-YARN-3368.1.patch, 
> YARN-4514-YARN-3368.2.patch, YARN-4514-YARN-3368.3.patch, 
> YARN-4514-YARN-3368.4.patch
>
>
> We have several configurations are hard-coded, for example, RM/ATS addresses, 
> we should make them configurable. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to