hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajagopal Natarajan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1347) Configuration XML bug: empty values
Date Wed, 14 Nov 2007 06:41:43 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-1347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rajagopal Natarajan updated HADOOP-1347:
----------------------------------------

    Attachment: unset.patch

If the value field is empty,
Check if the property corresponding to the empty value already exists in the properties list.
If it exists, unset it(remove the property from the list)


> Configuration XML bug: empty values
> -----------------------------------
>
>                 Key: HADOOP-1347
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1347
>             Project: Hadoop
>          Issue Type: Bug
>          Components: conf
>            Reporter: Eelco Lempsink
>            Priority: Critical
>         Attachments: unset.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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message