hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6842) the jar used in coprocessor is not deleted in local which will exhaust the space of /tmp
Date Fri, 21 Sep 2012 19:29:10 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460751#comment-13460751
] 

Hudson commented on HBASE-6842:
-------------------------------

Integrated in HBase-0.94-security #53 (See [https://builds.apache.org/job/HBase-0.94-security/53/])
    HBASE-6842 the jar used in coprocessor is not deleted in local which will exhaust the
space of /tmp (Revision 1387862)

     Result = SUCCESS
stack : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java

                
> 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.94.2, 0.96.0
>
>         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

Mime
View raw message