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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      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-amend.patch
          7 kB
          Ryota Egashira
        2. OOZIE-2260.patch
          13 kB
          Ryota Egashira

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: