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 EE9DFB125 for ; Fri, 6 Jan 2012 05:56:36 +0000 (UTC) Received: (qmail 1816 invoked by uid 500); 6 Jan 2012 05:56:34 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 1515 invoked by uid 500); 6 Jan 2012 05:56:10 -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 1478 invoked by uid 99); 6 Jan 2012 05:56:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 05:56:03 +0000 X-ASF-Spam-Status: No, hits=-2001.6 required=5.0 tests=ALL_TRUSTED,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; Fri, 06 Jan 2012 05:56:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E160813BA60 for ; Fri, 6 Jan 2012 05:55:39 +0000 (UTC) Date: Fri, 6 Jan 2012 05:55:39 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1693276119.13516.1325829339924.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-4515) conf.getBoolean must be case insensitive 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 [ https://issues.apache.org/jira/browse/HADOOP-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13181137#comment-13181137 ] Hudson commented on HADOOP-4515: -------------------------------- Integrated in Hadoop-Hdfs-trunk-Commit #1580 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1580/]) HADOOP-4515. Configuration#getBoolean must not be case sensitive. (Sho Shimauchi via harsh) harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1227964 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestConfiguration.java > conf.getBoolean must be case insensitive > ---------------------------------------- > > Key: HADOOP-4515 > URL: https://issues.apache.org/jira/browse/HADOOP-4515 > Project: Hadoop Common > Issue Type: Improvement > Affects Versions: 0.18.2 > Reporter: Abhijit Bagri > Assignee: Sho Shimauchi > Priority: Minor > Labels: newbie > Fix For: 0.24.0 > > Attachments: HADOOP-4515.patch, HADOOP-4515.patch > > > Currently, if xx is set to "TRUE", conf.getBoolean("xx", false) would return false. > conf.getBoolean should do an equalsIgnoreCase() instead of equals() > I am marking the change as incompatible because it does change semantics as pointed by Steve in HADOOP-4416 -- 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