You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Bryan Cutler (JIRA)" <ji...@apache.org> on 2016/01/08 01:00:42 UTC

[jira] [Created] (SPARK-12701) Logging FileAppender should use join to ensure thread is finished

Bryan Cutler created SPARK-12701:
------------------------------------

             Summary: Logging FileAppender should use join to ensure thread is finished
                 Key: SPARK-12701
                 URL: https://issues.apache.org/jira/browse/SPARK-12701
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
            Reporter: Bryan Cutler
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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