You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "meiyoula (JIRA)" <ji...@apache.org> on 2017/02/08 01:54:41 UTC
[jira] [Commented] (SPARK-10721) Log warning when file deletion
fails
[ https://issues.apache.org/jira/browse/SPARK-10721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15857225#comment-15857225 ]
meiyoula commented on SPARK-10721:
----------------------------------
Hi [~srowen], may I ask a question. When File.delete() returns false, but not throw exception. Which case it will happen?
> 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