Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2260

Only set "java.io.tmpdir" to "./tmp" for the AM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 4.3.0
    • None
    • None

    Description

      OOZIE-2209 sets java.io.tmpdir to ./tmp for AM, map and reduce for both launcher and action jobs.

      MapReduceChildJVM already sets java.io.tmpdir to ./tmp

      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.

      Attachments

        1. OOZIE-2260.patch
          13 kB
          Ryota Egashira
        2. OOZIE-2260-amend.patch
          7 kB
          Ryota Egashira

        Issue Links

          Activity

            People

              egashira Ryota Egashira
              rohini Rohini Palaniswamy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: