hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-9344) Configuration.writeXml can warn about deprecated properties user did not set
Date Mon, 03 Mar 2014 15:55:24 GMT

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

Jason Lowe resolved HADOOP-9344.
--------------------------------

    Resolution: Duplicate

Looks like this was fixed by HADOOP-10178.

> Configuration.writeXml can warn about deprecated properties user did not set
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-9344
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9344
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 2.0.3-alpha, 0.23.5
>            Reporter: Jason Lowe
>            Assignee: Rushabh S Shah
>
> When the configuration is serialized it can emit warnings about deprecated properties
that the user did not specify.  Converting the config to XML causes all the properties in
the config to be processed for deprecation, and after HADOOP-8167 setting a proper config
property also causes the deprecated forms to be set.  Processing all the keys in the config
for deprecation therefore can trigger warnings for keys that were never specified by the user,
leaving users confused as to how their code could be triggering these warnings.



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

Mime
View raw message