[
https://issues.apache.org/jira/browse/HADOOP-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634704#action_12634704
]
Tsz Wo (Nicholas), SZE commented on HADOOP-4212:
------------------------------------------------
> Won't it be problematic when looking at windows file system?
Configuration is not a part of file system API. It should support generic
usage.
When I worked on HADOOP-2461, I think that the property names should be trimmed
but not the values. Otherwise, it forbids the potential use of leading and
trailing spaces. If there is a need, the codes using the conf values should do
the trimming.
> 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.