[jira] [Commented] (SPARK-4597) Use proper exception and reset variable in Utils.createTempDir() method

2014-11-28 Thread Josh Rosen (JIRA)

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

Josh Rosen commented on SPARK-4597:
---

Resolved by https://github.com/apache/spark/pull/3449

> Use proper exception and reset variable in Utils.createTempDir() method
> ---
>
> Key: SPARK-4597
> URL: https://issues.apache.org/jira/browse/SPARK-4597
> Project: Spark
>  Issue Type: Bug
>  Components: Spark Core
>Affects Versions: 1.0.2, 1.1.1, 1.2.0
>Reporter: Liang-Chi Hsieh
>Assignee: Liang-Chi Hsieh
>Priority: Minor
> Fix For: 1.0.3, 1.1.2, 1.2.1
>
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-4597) Use proper exception and reset variable

2014-11-25 Thread Apache Spark (JIRA)

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