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 C30D19E61 for ; Thu, 15 Mar 2012 15:08:00 +0000 (UTC) Received: (qmail 86315 invoked by uid 500); 15 Mar 2012 15:08:00 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 86253 invoked by uid 500); 15 Mar 2012 15:07:59 -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 86214 invoked by uid 99); 15 Mar 2012 15:07:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2012 15:07:59 +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; Thu, 15 Mar 2012 15:07:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 720BD20E28 for ; Thu, 15 Mar 2012 15:07:38 +0000 (UTC) Date: Thu, 15 Mar 2012 15:07:38 +0000 (UTC) From: "Robert Joseph Evans (Created) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <772374528.19288.1331824058468.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HADOOP-8172) Configuration no longer sets all keys in a deprecated key list. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Configuration no longer sets all keys in a deprecated key list. --------------------------------------------------------------- Key: HADOOP-8172 URL: https://issues.apache.org/jira/browse/HADOOP-8172 Project: Hadoop Common Issue Type: Bug Components: conf Affects Versions: 0.24.0, 0.23.3 Reporter: Robert Joseph Evans Assignee: Robert Joseph Evans Priority: Blocker I did not look at the patch for HADOOP-8167 previously, but I did in response to a recent test failure. The patch appears to have changed the following code (I am just paraphrasing the code) {code} if(!deprecated(key)) { set(key, value); } else { for(String newKey: depricatedKeyMap.get(key)) { set(newKey, value); } } {code} to be {code} set(key, value); if(depricatedKeyMap.contains(key)) { set(deprecatedKeyMap.get(key)[0], value); } else if(reverseKeyMap.contains(key)) { set(reverseKeyMap.get(key), value); } {code} If a key is deprecated and is mapped to more then one new key value only the first one in the list will be set, where as previously all of them would be set. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira