-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Spark Core
-
Labels:None
Currently, FileAppender for logging uses wait/notifyAll to signal that the writing thread has finished. While I was trying to write a regression test for a fix of SPARK-9844, the writing thread was not able to fully complete before the process was shutdown, despite calling FileAppender.awaitTermination. Using join ensures the thread completes and would simplify things a little more.