You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2011/02/15 21:06:57 UTC

[jira] Commented: (HADOOP-7145) Configuration.getLocalPath should trim whitespace from the provided directories

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

Tom White commented on HADOOP-7145:
-----------------------------------

+1

> Configuration.getLocalPath should trim whitespace from the provided directories
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-7145
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7145
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7145.txt
>
>
> MR and HDFS use the Configuration.getTrimmedStrings API for local directory lists, but in a few places also use Configuration.getLocalPath. The former API trims whitespace around each entry in the list, but the latter doesn't. This can cause some subtle problems - the latter API should be fixed to also trim the directory names.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira