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


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.

Reply via email to