[ 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