spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-10721) Log warning when file deletion fails
Date Wed, 08 Feb 2017 12:08:41 GMT

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

Sean Owen commented on SPARK-10721:
-----------------------------------

I think that happens when it can't be deleted because it doesn't exist, or the caller doesn't
have permission, etc.

> Log warning when file deletion fails
> ------------------------------------
>
>                 Key: SPARK-10721
>                 URL: https://issues.apache.org/jira/browse/SPARK-10721
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> There're several places in the code base where return value from File.delete() is ignored.
> This issue adds checking for the boolean return value and logs warning when deletion
fails.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message