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

AM java.io.tmpdir should be set to $PWD/tmp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      For tasks it is already done by MapReduceChildJVM

      Path childTmpDir = new Path(Environment.PWD.$(),
              YarnConfiguration.DEFAULT_CONTAINER_TEMP_DIR);
          vargs.add("-Djava.io.tmpdir=" + childTmpDir);
      So it is only needed to be set for AM in launcher because of uber mode.
      

      Need to do this in AM as well, so that running in uber mode does not go to default java.io.tmpdir of /tmp and fill up task nodes and not be cleanedup.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rohini Rohini Palaniswamy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: