You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "William Montaz (JIRA)" <ji...@apache.org> on 2018/05/02 15:29:00 UTC

[jira] [Created] (SPARK-24150) Race condition in FsHistoryProvider

William Montaz created SPARK-24150:
--------------------------------------

             Summary: Race condition in FsHistoryProvider
                 Key: SPARK-24150
                 URL: https://issues.apache.org/jira/browse/SPARK-24150
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 2.2.0
            Reporter: William Montaz


There exist a race condition between the method checkLogs and cleanLogs.

Workaround:
 * use a permanent object as a monitor on which to synchronise
 * keep volatile field for all other read accesses



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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