hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1441) Configuration of directory lists should trim whitespace
Date Thu, 04 Feb 2010 00:36:27 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829341#action_12829341
] 

Todd Lipcon commented on MAPREDUCE-1441:
----------------------------------------

Those failed tests seem unrelated. Seems good to go?

> Configuration of directory lists should trim whitespace
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-1441
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1441
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: jobtracker, tasktracker
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: mapreduce-1441.txt
>
>
> HADOOP-2366 added a getTrimmedStringCollection method to Configuration. MapReduce should
use this for all the cases where it configures a list of directories. This solves issues that
come up when people set mapred.local.dir to "/data/1, /data/2, /data/3" (note the spaces).
This is a very common mistake that we should guard against.

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