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

When processing the WorkDirCleanup event, if appDirs is empty, should print workdir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0, 3.5.0
    • 3.4.0
    • Spark Core
    • None

    Description

                val appDirs = workDir.listFiles()
                if (appDirs == null) {
                  throw new IOException(
                    s"ERROR: Failed to list files in ${appDirs.mkString("dirs(", ", ", ")")}")
                }

       

      Otherwise, npe will be thrown here when appDirs is null

       

      Attachments

        Activity

          People

            LuciferYang Yang Jie
            LuciferYang Yang Jie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: