HADOOP-9737. JarFinder#getJar should delete the jar file upon destruction of the JVM (jbonofre via rkanter)
This commit is contained in:
parent
5aab014340
commit
315074bb08
@ -923,6 +923,9 @@ Release 2.7.0 - 2015-04-20
|
|||||||
HADOOP-11801. Update BUILDING.txt for Ubuntu. (Gabor Liptak via
|
HADOOP-11801. Update BUILDING.txt for Ubuntu. (Gabor Liptak via
|
||||||
Arpit Agarwal)
|
Arpit Agarwal)
|
||||||
|
|
||||||
|
HADOOP-9737. JarFinder#getJar should delete the jar file upon destruction
|
||||||
|
of the JVM (jbonofre via rkanter)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-11323. WritableComparator#compare keeps reference to byte array.
|
HADOOP-11323. WritableComparator#compare keeps reference to byte array.
|
||||||
|
@ -160,6 +160,7 @@ else if ("file".equals(url.getProtocol())) {
|
|||||||
File tempJar = File.createTempFile("hadoop-", "", testDir);
|
File tempJar = File.createTempFile("hadoop-", "", testDir);
|
||||||
tempJar = new File(tempJar.getAbsolutePath() + ".jar");
|
tempJar = new File(tempJar.getAbsolutePath() + ".jar");
|
||||||
createJar(baseDir, tempJar);
|
createJar(baseDir, tempJar);
|
||||||
|
tempJar.deleteOnExit();
|
||||||
return tempJar.getAbsolutePath();
|
return tempJar.getAbsolutePath();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user