[
https://issues.apache.org/jira/browse/YARN-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran resolved YARN-122.
---------------------------------
Resolution: Invalid
Resolving as INVALID as some composite services (e.g. {{MiniYARNCluster}} use
shared config object as way of sharing information -such as allocated ports.
> CompositeService should clone the Configurations it passes to children
> ----------------------------------------------------------------------
>
> Key: YARN-122
> URL: https://issues.apache.org/jira/browse/YARN-122
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Steve Loughran
> Priority: Minor
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> {{CompositeService.init(Configuration)}} saves the configuration passed in
> *and* passes the same instance down to all managed services. This means a
> change in the configuration of one child could propagate to all the others.
> Unless this is desired, the configuration should be cloned for each child.
> Fast and easy fix; tests can be added to those coming in MAPREDUCE-4014
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira