Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2049

JT and TT should prune invalid local dirs on startup

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.21.0, 0.22.0
    • Fix Version/s: None
    • Component/s: jobtracker, tasktracker
    • Labels:
      None

      Description

      MRAsyncDiskService fails when it's given local dirs it can't create or write. Per MAPREDUCE-1213 this conflicts with the previous behavior. The TTs will no longer start on hosts where the config has localdirs that can not be created (ie if some hosts don't have the same local mounts).

      The TT and JT should prune out invalid local dirs (ones that fail checkLocalDirs ie that it can not create) before giving them to MRAsyncDiskService and using them otherwise.

      Also mapred-default.xml states that mapred.local.dir that do not exist are ignored, this should be updated as directories that don't exist are created (if possible), they're only ignored if they can not be created.

        Issue Links

          Activity

          Hide
          Scott Chen added a comment -

          Zheng has made some change internally to fix this problem. I am assigning this to him.

          Show
          Scott Chen added a comment - Zheng has made some change internally to fix this problem. I am assigning this to him.

            People

            • Assignee:
              Zheng Shao
              Reporter:
              Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:

                Development