[ 
https://issues.apache.org/jira/browse/SPARK-13204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15134006#comment-15134006
 ] 

Ted Yu commented on SPARK-13204:
--------------------------------

Just noticed that parent JIRA was marked trivial. 

Should have done the search first. 

> Replace use of mutable.SynchronizedMap with ConcurrentHashMap
> -------------------------------------------------------------
>
>                 Key: SPARK-13204
>                 URL: https://issues.apache.org/jira/browse/SPARK-13204
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Ted Yu
>            Priority: Trivial
>
> From 
> http://www.scala-lang.org/api/2.11.1/index.html#scala.collection.mutable.SynchronizedMap
>  :
> Synchronization via traits is deprecated as it is inherently unreliable. 
> Consider java.util.concurrent.ConcurrentHashMap as an alternative.
> This issue is to replace the use of mutable.SynchronizedMap and add 
> scalastyle rule banning mutable.SynchronizedMap



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to