HBASE-6842 the jar used in coprocessor is not deleted in local which will exhaust the space of /tmp
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1387861 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
94774e37b2
commit
3f81037369
|
@ -189,7 +189,8 @@ public abstract class CoprocessorHost<E extends CoprocessorEnvironment> {
|
|||
java.io.File.separator +"." + pathPrefix +
|
||||
"." + className + "." + System.currentTimeMillis() + ".jar");
|
||||
fs.copyToLocalFile(path, dst);
|
||||
fs.deleteOnExit(dst);
|
||||
File tmpLocal = new File(dst.toString());
|
||||
tmpLocal.deleteOnExit();
|
||||
|
||||
// TODO: code weaving goes here
|
||||
|
||||
|
|
Loading…
Reference in New Issue