You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2023/03/30 00:49:00 UTC
[jira] [Created] (SPARK-42971) When processing the WorkDirCleanup event, if appDirs is empty, should print workdir
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org