GitHub user aarondav opened a pull request:
https://github.com/apache/spark/pull/1337
[SPARK-2412] CoalescedRDD throws exception with certain pref locs
If the first pass of CoalescedRDD does not find the target number of
locations AND the second pass finds new locations, an exception is thrown, as
"groupHash.get(nxt_replica).get" is not valid.
The fix is just to add an ArrayBuffer to groupHash for that replica if it
didn't already exist.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aarondav/spark 2412
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/1337.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 #1337
----
commit 3ad8a3c44ba3dacabf979a78f3247c73d43bb392
Author: Aaron Davidson <[email protected]>
Date: 2014-07-09T00:42:47Z
[SPARK-2412] CoalescedRDD throws exception with certain pref locs
If the first pass of CoalescedRDD does not find the target number of
locations AND the second pass finds new locations, an exception is thrown, as
"groupHash.get(nxt_replica).get" is not valid.
The fix is just to add an ArrayBuffer to groupHash for that replica if it
didn't already exist.
----
---
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.
---