hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sreekanth Ramakrishnan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4212) New lines and leading spaces are not trimmed of a value when configuration is read
Date Fri, 24 Oct 2008 07:59:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642404#action_12642404
] 

Sreekanth Ramakrishnan commented on HADOOP-4212:
------------------------------------------------

The most of the use cases, except the filename's don't require a trailing whitespace for instance
[HADOOP-4416|https://issues.apache.org/jira/browse/HADOOP-4416], So shouldn't we just treat
file paths as special case and allow users to mention path which have trailing and leading
spaces in special way? That way we can make sure that the user intends to use them instead
of adding a space by accident?

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


Mime
View raw message