hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1348) Configuration XML bug: comments inside values
Date Thu, 01 Nov 2007 14:12:51 GMT

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

Enis Soztutar updated HADOOP-1348:
----------------------------------

    Attachment: configcomment.patch

Actually I think ignoring all the comments in the DocumentBuilder will be a better option.
Here is the patch with a test case. 

> Configuration XML bug: comments inside values
> ---------------------------------------------
>
>                 Key: HADOOP-1348
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1348
>             Project: Hadoop
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.12.2
>            Reporter: Eelco Lempsink
>            Assignee: Rajagopal Natarajan
>            Priority: Critical
>             Fix For: 0.16.0
>
>         Attachments: 1348.patch, 1348.patch, 1348.patch, configcomment.patch
>
>
> The logic of reading the data of the value causes (very) unexpected behaviour:
> value = ((Text)field.getFirstChild()).getData();
> When commenting out a part of the value only the part till the comment will be processed.
 

-- 
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