Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-4597

Use proper exception and reset variable in Utils.createTempDir() method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.2, 1.1.1, 1.2.0
    • 1.0.3, 1.1.2, 1.2.1
    • Spark Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            viirya L. C. Hsieh
            viirya L. C. Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: