[
https://issues.apache.org/jira/browse/HBASE-6842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack resolved HBASE-6842.
--------------------------
Resolution: Fixed
Fix Version/s: (was: 0.94.3)
0.94.2
Hadoop Flags: Reviewed
Applied to trunk and to 0.94 branch (using -p1). Thanks for the patch Zhou.
> the jar used in coprocessor is not deleted in local which will exhaust the
> space of /tmp
> -------------------------------------------------------------------------------------------
>
> Key: HBASE-6842
> URL: https://issues.apache.org/jira/browse/HBASE-6842
> Project: HBase
> Issue Type: Bug
> Components: coprocessors
> Affects Versions: 0.94.1
> Reporter: Zhou wenjian
> Assignee: Zhou wenjian
> Priority: Critical
> Fix For: 0.96.0, 0.94.2
>
> Attachments: HBASE-6842-trunk.patch
>
>
> FileSystem fs = path.getFileSystem(HBaseConfiguration.create());
> Path dst = new Path(System.getProperty("java.io.tmpdir") +
> java.io.File.separator +"." + pathPrefix +
> "." + className + "." + System.currentTimeMillis() + ".jar");
> fs.copyToLocalFile(path, dst);
> fs.deleteOnExit(dst);
> change to
> File tmpLocal = new File(dst.toString());
> tmpLocal.deleteOnExit();
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira