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 B42B397D9 for ; Sun, 29 Jan 2012 19:09:33 +0000 (UTC) Received: (qmail 14474 invoked by uid 500); 29 Jan 2012 19:09:32 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 14370 invoked by uid 500); 29 Jan 2012 19:09:31 -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 14361 invoked by uid 99); 29 Jan 2012 19:09:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jan 2012 19:09:31 +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; Sun, 29 Jan 2012 19:09:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1316B16B14A for ; Sun, 29 Jan 2012 19:09:10 +0000 (UTC) Date: Sun, 29 Jan 2012 19:09:10 +0000 (UTC) From: "Suresh Srinivas (Resolved) (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <183792072.6087.1327864150079.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HADOOP-1347) Configuration XML bug: empty values 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-1347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suresh Srinivas resolved HADOOP-1347. ------------------------------------- Resolution: Won't Fix Closing a very old bug. Please re-open if this still needs to be addressed. > Configuration XML bug: empty values > ----------------------------------- > > Key: HADOOP-1347 > URL: https://issues.apache.org/jira/browse/HADOOP-1347 > Project: Hadoop Common > Issue Type: Bug > Components: conf > Reporter: Eelco Lempsink > Assignee: Rajagopal Natarajan > Priority: Critical > Attachments: unset.patch, unset_with_tests.patch, unset_with_tests.patch > > > The configuration parser doesn't handle empty values well: > if ("value".equals(field.getTagName()) && field.hasChildNodes()) > This logic makes it impossible to 'unset' a field when loading multiple configurations. -- 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