[
https://issues.apache.org/jira/browse/HADOOP-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598842#action_12598842
]
Hadoop QA commented on HADOOP-3400:
-----------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12382350/deleteOnExit.patch
against trunk revision 658862.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac
compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of
release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results:
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2510/testReport/
Findbugs warnings:
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2510/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results:
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2510/artifact/trunk/build/test/checkstyle-errors.html
Console output:
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2510/console
This message is automatically generated.
> Facilitate creation of temporary files in HDFS
> ----------------------------------------------
>
> Key: HADOOP-3400
> URL: https://issues.apache.org/jira/browse/HADOOP-3400
> Project: Hadoop Core
> Issue Type: Improvement
> Components: dfs
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Attachments: deleteOnExit.patch, deleteOnExit.patch,
> deleteOnExit.patch
>
>
> There are a set of applications that use HDFS to create temporary files. The
> application would ideally like these files to be automatically deleted when
> the application process exits. This is similar to the File.deleteOnExit() in
> the Java API.
> One proposal is to add a new method in FileSystem
> public void deleteOnExit(Path)
> This API requests that the file or directory denoted by this abstract
> pathname be deleted when the virtual machine terminates. Deletion will be
> attempted only for normal termination of the virtual machine, as defined by
> the Java Language Specification. Once deletion has been requested, it is not
> possible to cancel the request. This method should therefore be used with
> care.
> This method can be implemented entirely in the client side code, e.g.
> FileSystem.java will keep a cache of all the pathnames specified by the above
> API. FileSystem.close will invoke delete() on all the pathnames found in the
> cache.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.