Perhaps we can simply unlink the file after load. On *nix the OS would GC
the file data after the JVM process terminates and the filehandles are
closed. Of course this won't work on Windows. (But I don't care about that.)
We added a change such that now all coprocessor jars are brought locally to
Interesting.
File a JIRA ?
Thanks
On Apr 10, 2013, at 2:30 AM, Asaf Mesika wrote:
> Hi,
>
> In the CoprocessorHost.java file, there's the following code section used
> to load a coprocessor jar:
>
> fs.copyToLocalFile(path, dst);
>
> File tmpLocal = new File(dst.toString());
>
>
Hi,
In the CoprocessorHost.java file, there's the following code section used
to load a coprocessor jar:
fs.copyToLocalFile(path, dst);
File tmpLocal = new File(dst.toString());
tmpLocal.deleteOnExit();
There's an assumption here that the JVM will gracefully shutdown (as
oppo