You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Sreekanth Ramakrishnan (JIRA)" <ji...@apache.org> on 2008/09/19 07:04:44 UTC

[jira] Commented: (HADOOP-4212) New lines and leading spaces are not trimmed of a value when configuration is read

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

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

Create following property in configuration file :
{noformat}
  <property>
    <name>test.property.name1</name>
    <value>
       100
    </value>
  </property>
{noformat}


Try to programatically get the value  of property _test.property.name1_ it would not be equal to _"100"_ but would be equal to _"\n100\n"_

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