[jira] [Commented] (SPARK-13186) Migrate away from SynchronizedMap which is derpecated
[ https://issues.apache.org/jira/browse/SPARK-13186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15136052#comment-15136052 ] Apache Spark commented on SPARK-13186: -- User 'huaxingao' has created a pull request for this issue: https://github.com/apache/spark/pull/11104 > Migrate away from SynchronizedMap which is derpecated > - > > Key: SPARK-13186 > URL: https://issues.apache.org/jira/browse/SPARK-13186 > Project: Spark > Issue Type: Sub-task > Components: Spark Core, SQL, Streaming >Reporter: holdenk >Priority: Trivial > > The warning is " trait SynchronizedMap in package mutable is deprecated: > Synchronization via traits is deprecated as it is inherently unreliable. > Consider java.util.concurrent.ConcurrentHashMap as an alternative. > [warn] val failureReasons = new HashMap[Int, String] with > SynchronizedMap[Int, String]" -- 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
[jira] [Commented] (SPARK-13186) Migrate away from SynchronizedMap which is derpecated
[ https://issues.apache.org/jira/browse/SPARK-13186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15133101#comment-15133101 ] Huaxin Gao commented on SPARK-13186: Hi Holden, I will work on this one. Thanks! > Migrate away from SynchronizedMap which is derpecated > - > > Key: SPARK-13186 > URL: https://issues.apache.org/jira/browse/SPARK-13186 > Project: Spark > Issue Type: Sub-task > Components: Spark Core, SQL, Streaming >Reporter: holdenk >Priority: Trivial > > The warning is " trait SynchronizedMap in package mutable is deprecated: > Synchronization via traits is deprecated as it is inherently unreliable. > Consider java.util.concurrent.ConcurrentHashMap as an alternative. > [warn] val failureReasons = new HashMap[Int, String] with > SynchronizedMap[Int, String]" -- 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