Skip to content

Commit

Permalink
HBASE-6842 the jar used in coprocessor is not deleted in local which …
Browse files Browse the repository at this point in the history
…will exhaust the space of /tmp

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.94@1387862 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
saintstack committed Sep 20, 2012
1 parent df9d942 commit c6964c7
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -183,7 +183,8 @@ public E load(Path path, String className, int priority,
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

Expand Down

0 comments on commit c6964c7

Please sign in to comment.