Holden Karau created SPARK-47220: ------------------------------------ Summary: log4j race condition during shutdown Key: SPARK-47220 URL: https://issues.apache.org/jira/browse/SPARK-47220 Project: Spark Issue Type: Improvement Components: Spark Core Affects Versions: 3.3.0 Reporter: Holden Karau Assignee: Holden Karau
There is a race condition during shutdown which can result in a few different errors: * ERROR Attempted to append to non-started appender * ERROR Unable to write to stream Since I've only seen it during stop() triggered within a shutdown hook I believe this is caused by the parallel execution of shutdown hooks (see [https://stackoverflow.com/questions/17400136/how-to-log-within-shutdown-hooks-with-log4j2] ) -- 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