[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to