You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2014/01/26 07:36:16 UTC

[3/3] git commit: Merge pull request #511 from JoshRosen/SPARK-1040

Merge pull request #511 from JoshRosen/SPARK-1040

Fix ClassCastException in JavaPairRDD.collectAsMap() (SPARK-1040)

This fixes [SPARK-1040](https://spark-project.atlassian.net/browse/SPARK-1040), an issue where JavaPairRDD.collectAsMap() could sometimes fail with ClassCastException.  I applied the same fix to the Spark Streaming Java APIs.  The commit message describes the fix in more detail.

I also increased the verbosity of JUnit test output under SBT to make it easier to verify that the Java tests are actually running.


Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/c66a2ef1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/c66a2ef1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/c66a2ef1

Branch: refs/heads/master
Commit: c66a2ef1c2dc9c218069b3ce8c39a49e5b92fc16
Parents: 05be704 740e865
Author: Reynold Xin <rx...@apache.org>
Authored: Sat Jan 25 22:36:07 2014 -0800
Committer: Reynold Xin <rx...@apache.org>
Committed: Sat Jan 25 22:36:07 2014 -0800

----------------------------------------------------------------------
 .../org/apache/spark/api/java/JavaRDDLike.scala    |  4 ++--
 .../test/scala/org/apache/spark/JavaAPISuite.java  | 17 +++++++++++++++++
 pom.xml                                            |  2 +-
 project/SparkBuild.scala                           |  3 ++-
 .../spark/streaming/api/java/JavaDStreamLike.scala |  4 ++--
 .../spark/streaming/api/java/JavaPairDStream.scala |  2 +-
 6 files changed, 25 insertions(+), 7 deletions(-)
----------------------------------------------------------------------