Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2FC226B9B for ; Sat, 14 May 2011 05:15:31 +0000 (UTC) Received: (qmail 8618 invoked by uid 500); 14 May 2011 05:15:30 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 8491 invoked by uid 500); 14 May 2011 05:15:30 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 8478 invoked by uid 99); 14 May 2011 05:15:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 May 2011 05:15:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 May 2011 05:15:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 41FD2B2CDC for ; Sat, 14 May 2011 05:14:48 +0000 (UTC) Date: Sat, 14 May 2011 05:14:48 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <731753847.12510.1305350088266.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-6105) Provide a way to automatically handle backward compatibility of deprecated keys 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-6105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033459#comment-13033459 ] Todd Lipcon commented on HADOOP-6105: ------------------------------------- It seems there is a bit of a flaw in the way this JIRA was done. Could those who are still watching this please take a look at HADOOP-7287? Thanks. > Provide a way to automatically handle backward compatibility of deprecated keys > ------------------------------------------------------------------------------- > > Key: HADOOP-6105 > URL: https://issues.apache.org/jira/browse/HADOOP-6105 > Project: Hadoop Common > Issue Type: Improvement > Components: conf > Reporter: Hemanth Yamijala > Assignee: V.V.Chaitanya Krishna > Fix For: 0.21.0 > > Attachments: HADOOP-6105-1.patch, HADOOP-6105-10.patch, HADOOP-6105-2.patch, HADOOP-6105-3.patch, HADOOP-6105-4.patch, HADOOP-6105-5.patch, HADOOP-6105-6.patch, HADOOP-6105-7.patch, HADOOP-6105-8.patch, HADOOP-6105-9.patch, HADOOP-6105.patch, HADOOP-6105.patch > > > There are cases when we have had to deprecate configuration keys. Use cases include, changing the names of variables to better match intent, splitting a single parameter into two - for maps, reduces etc. > In such cases, we typically provide a backwards compatible option for the old keys. The handling of such cases might typically be common enough to actually add support for it in a generic fashion in the Configuration class. Some initial discussion around this started in HADOOP-5919, but since the project split happened in between we decided to open this issue to fix it in common. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira