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 03:08:12 UTC

[jira] [Resolved] (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 resolved SPARK-4597.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.1
                   1.1.2
                   1.0.3
         Assignee: Liang-Chi Hsieh

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