mirror of
https://github.com/apache/druid.git
synced 2025-02-17 15:35:56 +00:00
Merge pull request #412 from pgkiran/filepeon-cleanup
Temp filePeon files cleanup
This commit is contained in:
commit
4983210907
@ -42,6 +42,7 @@ public class TmpFileIOPeon implements IOPeon
|
||||
File retFile = createdFiles.get(filename);
|
||||
if (retFile == null) {
|
||||
retFile = File.createTempFile("filePeon", filename);
|
||||
retFile.deleteOnExit();
|
||||
createdFiles.put(filename, retFile);
|
||||
}
|
||||
return new BufferedOutputStream(new FileOutputStream(retFile));
|
||||
|
Loading…
x
Reference in New Issue
Block a user