Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.21.0, 0.22.0
-
None
-
None
-
Reviewed
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-2366 Space in the value for dfs.data.dir can cause great problems
- Closed
-
HADOOP-6534 LocalDirAllocator should use whitespace trimming configuration getters
- Closed