hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9854) Configuration.set() may be called before all the deprecated keys are registered, causing inconsistent state
Date Wed, 18 Sep 2013 19:43:54 GMT

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

Arun C Murthy commented on HADOOP-9854:
---------------------------------------

[~sjlee0] Do you know what caused this issue with Cascading? Is it using new keys? Or, are
you putting new keys (mapreduce.job.reduces) in your configs?
                
> Configuration.set() may be called before all the deprecated keys are registered, causing
inconsistent state
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9854
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9854
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 2.0.5-alpha
>            Reporter: Sangjin Lee
>            Priority: Blocker
>
> Currently deprecated keys are registered at various times. Some are registered  when
the Configuration class itself is initialized, but the vast majority are registered when the
JobConf class is initialized.
> Therefore, it is entirely possible (and does happen) that Configuration.set() is called
for a key before its deprecation mapping is registered, thus leaving the internal state of
Configuration in an inconsistent state.
> We actually had this problem occur in real life, causing the set value not to be recognized.

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