[
https://issues.apache.org/jira/browse/MAPREDUCE-1441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Douglas updated MAPREDUCE-1441:
-------------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
The failing testcase, TestBadRecords, passed on my machine.
+1
I committed this. Thanks, Todd!
> 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.