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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0, 0.6.0, 0.7.0, 0.8.0-alpha
    • Fix Version/s: 0.7.1, 0.8.1-alpha
    • Component/s: None
    • Labels:
      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.1.patch
          0.8 kB
          Jonathan Turner Eagles
        2. TEZ-2787.2.patch
          4 kB
          Jonathan Turner Eagles
        3. TEZ-2787.3.patch
          4 kB
          Jonathan Turner Eagles

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: