Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD418102BC for ; Mon, 3 Mar 2014 15:55:41 +0000 (UTC) Received: (qmail 38940 invoked by uid 500); 3 Mar 2014 15:55:34 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 38242 invoked by uid 500); 3 Mar 2014 15:55:26 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 37658 invoked by uid 99); 3 Mar 2014 15:55:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 15:55:22 +0000 Date: Mon, 3 Mar 2014 15:55:21 +0000 (UTC) From: "Jason Lowe (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HADOOP-9344) Configuration.writeXml can warn about deprecated properties user did not set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)