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:06:39 UTC
[jira] [Updated] (SPARK-12701) Logging FileAppender should use join
to ensure thread is finished
[ https://issues.apache.org/jira/browse/SPARK-12701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Cutler updated SPARK-12701:
---------------------------------
Issue Type: Improvement (was: Bug)
> 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: Improvement
> 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