You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2009/06/24 09:02:07 UTC

[jira] Created: (HADOOP-6103) Configuration clone constructor does not clone all the members.

Configuration clone constructor does not clone all the members.
---------------------------------------------------------------

                 Key: HADOOP-6103
                 URL: https://issues.apache.org/jira/browse/HADOOP-6103
             Project: Hadoop Common
          Issue Type: Bug
          Components: conf
            Reporter: Amareshwari Sriramadasu
             Fix For: 0.21.0


Currently, Configuration(Configuration other) constructor does not clone all the members.
It clones only resources, properties, overlay and finalParameters. It needs to clone loadDefaults, classLoader, defaultResources, quietmode.
This resulted in bugs like HADOOP-4975

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6103) Configuration clone constructor does not clone all the members.

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723486#action_12723486 ] 

Amareshwari Sriramadasu commented on HADOOP-6103:
-------------------------------------------------

defaultResources is a private static list. This need not be cloned.

> Configuration clone constructor does not clone all the members.
> ---------------------------------------------------------------
>
>                 Key: HADOOP-6103
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6103
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Amareshwari Sriramadasu
>             Fix For: 0.21.0
>
>
> Currently, Configuration(Configuration other) constructor does not clone all the members.
> It clones only resources, properties, overlay and finalParameters. It needs to clone loadDefaults, classLoader, defaultResources, quietmode.
> This resulted in bugs like HADOOP-4975

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.