[
https://issues.apache.org/jira/browse/HADOOP-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633215#action_12633215
]
Sreekanth Ramakrishnan commented on HADOOP-4212:
------------------------------------------------
Only place it would and should be dependent on is Filesystem path's but does
trailing space make sense with respect to them? Won't it be problematic when
looking at windows file system?
With respect to xml:space attribute it would be use only if the parser which we
use is a XML validating parser. I dont see that we are using XML validating
parser when parsing for the configuration. So should we now parse all
configuration using validation turned on?
Moreover, there is a similar issue reported here
[HADOOP-2366|https://issues.apache.org/jira/browse/HADOOP-2366]
> New lines and leading spaces are not trimmed of a value when configuration is
> read
> ----------------------------------------------------------------------------------
>
> Key: HADOOP-4212
> URL: https://issues.apache.org/jira/browse/HADOOP-4212
> Project: Hadoop Core
> Issue Type: Bug
> Components: conf
> Affects Versions: 0.18.1
> Environment: Generic
> Reporter: Sreekanth Ramakrishnan
> Assignee: Sreekanth Ramakrishnan
> Priority: Minor
> Attachments: HADOOP-4212-1.patch, HADOOP-4212-TESTCASE.patch
>
>
> While configuration value is read the leading and trailing spaces and new
> line characters are taken into account.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.