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

Steve Loughran commented on YARN-1759:
--------------------------------------

I think Hitesh's concern is of the workflow

# load YARN config
# subclass overrides values in its serviceInit()
# new YarnConfig overwrites this.

I'm not sure this happens, certainly {{new YarnConfig(Configuration)}} doesn't 
-it pops up in a few places -hence some logic in 
{{AbstractService.init(Configuration)}} to recognise and handle this situation 
by updating its own {{config}} field.

A small unit test should be able to replicate the problem if it does exist.

> Configuration settings can potentially disappear post YARN-1666
> ---------------------------------------------------------------
>
>                 Key: YARN-1759
>                 URL: https://issues.apache.org/jira/browse/YARN-1759
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>
> By implicitly loading core-site and yarn-site again in the RM::serviceInit(), 
> some configs may be unintentionally overridden.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to