Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.4.1
-
None
-
None
-
None
-
Ubuntu 15.04, spark-1.4.1-bin-hadoop2.6 package
Description
I expect the following:
case class MyTest(i: Int)
val tv = MyTest(1)
val res = sc.parallelize(Array((t: MyTest) => t == tv)).first()(tv)
to be "true." It is "false," when I type this into spark-shell. It seems the closure is changed somehow when it's serialized and deserialized.
Attachments
Issue Links
- duplicates
-
SPARK-2620 case class cannot be used as key for reduce
- Resolved