You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/07 15:16:00 UTC

[jira] [Commented] (FLINK-7897) Consider using nio.Files for file deletion in TransientBlobCleanupTask

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

ASF GitHub Bot commented on FLINK-7897:
---------------------------------------

Github user yanghua commented on the issue:

    https://github.com/apache/flink/pull/5777
  
    cc @zentol @GJL @tzulitai this PR takes a long time, please review it thanks.


> Consider using nio.Files for file deletion in TransientBlobCleanupTask
> ----------------------------------------------------------------------
>
>                 Key: FLINK-7897
>                 URL: https://issues.apache.org/jira/browse/FLINK-7897
>             Project: Flink
>          Issue Type: Improvement
>          Components: Local Runtime
>            Reporter: Ted Yu
>            Assignee: vinoyang
>            Priority: Minor
>
> nio.Files#delete() provides better clue as to why the deletion may fail:
> https://docs.oracle.com/javase/7/docs/api/java/nio/file/Files.html#delete(java.nio.file.Path)
> Depending on the potential exception (FileNotFound), the call to localFile.exists() may be skipped.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)