hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (YARN-122) CompositeService should clone the Configurations it passes to children
Date Sun, 23 Sep 2012 23:58:07 GMT

     [ https://issues.apache.org/jira/browse/YARN-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vinod Kumar Vavilapalli moved MAPREDUCE-4016 to YARN-122:
---------------------------------------------------------

          Component/s:     (was: mrv2)
    Affects Version/s:     (was: 0.23.1)
                           (was: 0.24.0)
                  Key: YARN-122  (was: MAPREDUCE-4016)
              Project: Hadoop YARN  (was: Hadoop Map/Reduce)
    
> 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
>   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

Mime
View raw message