GitHub user jegonzal opened a pull request:
https://github.com/apache/spark/pull/499
SPARK-1577: Enabling reference tracking by default in GraphX
KryoRegistrator.
We had originally disabled reference tracking by default however this now
seems to create serious issues in the spark-shell where even the following
benign block of code will fail:
```scala
class A(a: String) extends Serializable
val x = sc.parallelize(Array.fill(10)(new A("hello")))
x.collect
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jegonzal/spark graphx-kryo-issue
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/499.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #499
----
commit 8779a836ff6d134b445a051a13c5d85130a9f848
Author: Joseph E. Gonzalez <[email protected]>
Date: 2014-04-23T05:59:24Z
Enabling reference tracking by default in GraphX KryoRegistrator.
----
---
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.
---