You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/02/04 23:11:39 UTC

[jira] [Created] (SPARK-13204) Replace use of mutable.SynchronizedMap with ConcurrentHashMap

Ted Yu created SPARK-13204:
------------------------------

             Summary: Replace use of mutable.SynchronizedMap with ConcurrentHashMap
                 Key: SPARK-13204
                 URL: https://issues.apache.org/jira/browse/SPARK-13204
             Project: Spark
          Issue Type: Bug
            Reporter: Ted Yu


>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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org