You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "fangfengbin (JIRA)" <ji...@apache.org> on 2017/06/13 12:52:00 UTC

[jira] [Created] (SPARK-21078) JobHistory applications synchronized is invalid

fangfengbin created SPARK-21078:
-----------------------------------

             Summary: JobHistory applications synchronized is invalid
                 Key: SPARK-21078
                 URL: https://issues.apache.org/jira/browse/SPARK-21078
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 2.1.1
            Reporter: fangfengbin


FsHistoryProvider has some threads to mergeApplicationListing.
mergeApplicationListing function has code like this:
applications.synchronized { 
...
applications = mergedApps 
...
} 

applications object is changed,  so the synchronized do not work.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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