hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Douglas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-1441) Configuration of directory lists should trim whitespace
Date Sat, 13 Feb 2010 11:28:28 GMT

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


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.

View raw message