[ 
https://issues.apache.org/jira/browse/SPARK-34125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dzcxzl updated SPARK-34125:
---------------------------
    Attachment: jstack.png

> 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
>            Priority: Trivial
>         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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to