You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2014/11/29 02:59:12 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-4597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Rosen updated SPARK-4597:
------------------------------
    Summary: Use proper exception and reset variable in Utils.createTempDir() method  (was: Use proper exception and reset variable)

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