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

Apache Spark commented on SPARK-4597:
-------------------------------------

User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/3449

> Use proper exception and reset variable
> ---------------------------------------
>
>                 Key: SPARK-4597
>                 URL: https://issues.apache.org/jira/browse/SPARK-4597
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Liang-Chi Hsieh
>            Priority: Minor
>
> In Utils.scala, File.exists() and File.mkdirs() only throw SecurityException 
> instead of IOException. Then, when an exception is thrown, the variable "dir" 
> should be reset too.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to