You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "dzcxzl (Jira)" <ji...@apache.org> on 2021/01/15 08:15:00 UTC
[jira] [Created] (SPARK-34125) Make EventLoggingListener.codecMap
thread-safe
dzcxzl created SPARK-34125:
------------------------------
Summary: Make EventLoggingListener.codecMap thread-safe
Key: SPARK-34125
URL: https://issues.apache.org/jira/browse/SPARK-34125
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 2.4.7
Reporter: dzcxzl
Attachments: jstack.png, top.png
2.x version of history server
EventLoggingListener.codecMap is of type mutable.HashMap, which is not thread safe
This will cause the history server to suddenly get stuck and not work.
The 3.x version was changed to EventLogFileReader.codecMap to ConcurrentHashMap type, so there is no such problem.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org