diff options
author | Sean Owen <sowen@cloudera.com> | 2014-12-08 16:13:03 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2014-12-08 16:13:03 -0800 |
commit | e829bfa1ab9b68f44c489d26efb042f793fd9362 (patch) | |
tree | 22f28aea8b5e18d2a95ab0d9636d4173f99460c4 /LICENSE | |
parent | 65f929d5b3a50a73cd6397bd4b72c3e7d94c99d7 (diff) | |
download | spark-e829bfa1ab9b68f44c489d26efb042f793fd9362.tar.gz spark-e829bfa1ab9b68f44c489d26efb042f793fd9362.tar.bz2 spark-e829bfa1ab9b68f44c489d26efb042f793fd9362.zip |
SPARK-3926 [CORE] Reopened: result of JavaRDD collectAsMap() is not serializable
My original 'fix' didn't fix at all. Now, there's a unit test to check whether it works. Of the two options to really fix it -- copy the `Map` to a `java.util.HashMap`, or copy and modify Scala's implementation in `Wrappers.MapWrapper`, I went with the latter.
Author: Sean Owen <sowen@cloudera.com>
Closes #3587 from srowen/SPARK-3926 and squashes the following commits:
8586bb9 [Sean Owen] Remove unneeded no-arg constructor, and add additional note about copied code in LICENSE
7bb0e66 [Sean Owen] Make SerializableMapWrapper actually serialize, and add unit test
Diffstat (limited to 'LICENSE')
-rw-r--r-- | LICENSE | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -646,7 +646,8 @@ THE SOFTWARE. ======================================================================== For Scala Interpreter classes (all .scala files in repl/src/main/scala -except for Main.Scala, SparkHelper.scala and ExecutorClassLoader.scala): +except for Main.Scala, SparkHelper.scala and ExecutorClassLoader.scala), +and for SerializableMapWrapper in JavaUtils.scala: ======================================================================== Copyright (c) 2002-2013 EPFL |