Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-2787

Tez AM should have java.io.tmpdir=./tmp to be consistent with tasks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5.0, 0.6.0, 0.7.0, 0.8.0-alpha
    • 0.7.1, 0.8.1-alpha
    • None
    • None

    Description

      TezRuntimeChildJVM ensures that tasks are launched with -Djava.io.tmpdir=./tmp, but there's no corresponding code to ensure the Tez AM also has a similar tmpdir setting. The client should setup the AM launch context to have -Djava.io.tmpdir=./tmp to be consistent with the tasks and to prevent accidental leaking of files in /tmp by the Tez AM if it crashes.

      Attachments

        1. TEZ-2787.3.patch
          4 kB
          Jonathan Turner Eagles
        2. TEZ-2787.2.patch
          4 kB
          Jonathan Turner Eagles
        3. TEZ-2787.1.patch
          0.8 kB
          Jonathan Turner Eagles

        Issue Links

          Activity

            People

              jeagles Jonathan Turner Eagles
              jlowe Jason Darrell Lowe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: