Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1441

Configuration of directory lists should trim whitespace

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.21.0, 0.22.0
    • None
    • jobtracker, tasktracker
    • 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

        1. mapreduce-1441.txt
          2 kB
          Todd Lipcon

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment