Github user andrewor14 commented on the pull request:
https://github.com/apache/spark/pull/5685#issuecomment-96905575
I found the issue. Turns out `SerializationDebugger` currently cannot
serialize `ClosureCleanerSuite2` due to
[SPARK-7180](https://issues.apache.org/jira/browse/SPARK-7180). In a nutshell,
it turns out that the debugger currently doesn't handle the case where an
object both (1) inherits a serializable parent, and (2) has a non-serializable
field. The reason why it passed for me locally before was because the debugger
was somehow not
[enabled](https://github.com/apache/spark/blob/4d9e560b5470029143926827b1cb9d72a0bfbeff/core/src/main/scala/org/apache/spark/serializer/SerializationDebugger.scala#L62),
and I suspect this has something to do with the fact that I'm running Java 6.
I was able to reproduce the exception locally by always enabling the debugger.
Anyway, I have disabled the debugger in the test for now and hopefully it
will pass.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]