hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-7145) Configuration.getLocalPath should trim whitespace from the provided directories
Date Tue, 15 Feb 2011 20:06:57 GMT

    [ 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

        

Mime
View raw message