You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Ashish Paliwal (JIRA)" <ji...@apache.org> on 2014/11/05 11:44:35 UTC

[jira] [Resolved] (FLUME-764) Use File.deleteOnExit on dirs instead of try/finally rmr.

     [ https://issues.apache.org/jira/browse/FLUME-764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Paliwal resolved FLUME-764.
----------------------------------
       Resolution: Won't Fix
    Fix Version/s: v0.9.5

Won't fix. 0.X branch not maintained anymore

> Use File.deleteOnExit on dirs instead of try/finally rmr.
> ---------------------------------------------------------
>
>                 Key: FLUME-764
>                 URL: https://issues.apache.org/jira/browse/FLUME-764
>             Project: Flume
>          Issue Type: Improvement
>          Components: Easy, Technical Debt, Test
>    Affects Versions: v0.9.4
>            Reporter: Jonathan Hsieh
>             Fix For: v0.9.5
>
>
> It was pointed out in a code review that File.deleteOnExit() works on directories.   Most test cases using temp files don't use this idiom and it seems like a really good one to use. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)