GitHub user ankurdave opened a pull request:
https://github.com/apache/spark/pull/367
Handle empty partition iterators
Empty edge partitions sometimes appear in the output of zipPartitions for
unknown reasons, causing calls to Iterator#next to fail. This PR checks these
cases, handles them by returning an empty iterator, and logs an error if this
would cause GraphX to drop a corresponding non-empty partition.
Resolves amplab/graphx#52.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ankurdave/spark handle-empty-partitions
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/367.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 #367
----
commit 74021775bce5b6f6a6541c43d74cc98accd07ce9
Author: Ankur Dave <[email protected]>
Date: 2014-04-09T05:56:10Z
Handle empty partition iterators
Empty edge partitions sometimes appear in the output of zipPartitions
for unknown reasons, causing calls to Iterator#next to fail. This commit
checks these cases, handles them by returning an empty iterator, and
logs an error if this would cause GraphX to drop a corresponding
non-empty partition.
Resolves amplab/graphx#52.
----
---
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.
---