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

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

Cant we have "host" in each of the adapter files as a computed property ?
Check if localBaseUrl or localBaseAddress is empty. If not, insert an 
additional /.
I havent tried it but this should work. Thoughts ?

My main concern here is / can be easily missed while configuring. It wont be 
intuitive to anyone who is configuring. However, it can be mentioned in 
comments too. That / in the end is necessary if config is not empty.

> [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