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
- duplicates
-
MAPREDUCE-6472 MapReduce AM should have java.io.tmpdir=./tmp to be consistent with tasks
- Closed
- is related to
-
OOZIE-2260 Only set "java.io.tmpdir" to "./tmp" for the AM
- Closed