Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1-win, 1.2.1
-
None
Description
MAPREDUCE-5351 fixed a memory leak problem but introducing another filesystem object (see "tempDirFs") that is not properly released.
JobInProgress#cleanupJob() void cleanupJob() { ... tempDirFs = jobTempDirPath.getFileSystem(conf); CleanupQueue.getInstance().addToQueue( new PathDeletionContext(jobTempDirPath, conf, userUGI, jobId)); ... if (tempDirFs != fs) { try { fs.close(); } catch (IOException ie) { ... }
Attachments
Attachments
Issue Links
- is related to
-
HDFS-5211 Race condition between DistributedFileSystem#close and FileSystem#close can cause return of a closed DistributedFileSystem instance from the FileSystem cache.
- Resolved
-
MAPREDUCE-5351 JobTracker memory leak caused by CleanupQueue reopening FileSystem
- Closed
-
HADOOP-9993 FileSystem#close JavaDoc should state that the implementation must be idempotent.
- Open