Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5828

Use absolute path for JobTracker's mapred.local.dir in MiniMRCluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.20.1
    • test
    • None
    • Reviewed

    Description

      MiniMRCluster's JobTracker sets the mapred.local.dir to a relative path: "build/test/mapred/local". While currently this does not cause any problem, if at some time in future, the JobTracker starts using LocalDirAllocator for localizing files, this could cause failures in contrib tests. This issue was faced when working with an internal patch that tried to introduce LocalDirAllocator into the JobTracker, and capacity scheduler test cases started failing.

      Attachments

        1. HADOOP-5828.patch
          0.8 kB
          Hemanth Yamijala
        2. HADOOP-5828.20.patch
          0.7 kB
          Hemanth Yamijala

        Activity

          People

            yhemanth Hemanth Yamijala
            yhemanth Hemanth Yamijala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: