GitHub user mengxr opened a pull request:
https://github.com/apache/incubator-spark/pull/589
SPARK-1076: Convert Int to Long to avoid overflow
Patch for PR #578.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/incubator-spark index
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-spark/pull/589.patch
----
commit 98c435eebd74dcfe57212ff5d240b8a00a5d0bdf
Author: Xiangrui Meng <[email protected]>
Date: 2014-02-12T18:34:02Z
cast Int to Long to avoid Int overflow
----