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

Reply via email to