You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2017/07/12 10:54:00 UTC
[jira] [Resolved] (SPARK-21078) JobHistory applications
synchronized is invalid
[ https://issues.apache.org/jira/browse/SPARK-21078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-21078.
-------------------------------
Resolution: Duplicate
I'm resolving this as 'duplicate' but really this will just go away when the linked change finishes. If there's no evidence it's causing a problem in practice then I think we can wait.
https://github.com/apache/spark/pull/18497#issuecomment-313815621
> 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