Yang Jie created SPARK-42971:
--------------------------------

             Summary: When processing the WorkDirCleanup event, if appDirs is 
empty, should print workdir 
                 Key: SPARK-42971
                 URL: https://issues.apache.org/jira/browse/SPARK-42971
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 3.4.0, 3.5.0
            Reporter: Yang Jie


          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

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to