Liang-Chi Hsieh created SPARK-4597:
--------------------------------------
Summary: 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]