diff options
author | Ankur Dave <ankurdave@gmail.com> | 2014-01-13 16:48:11 -0800 |
---|---|---|
committer | Ankur Dave <ankurdave@gmail.com> | 2014-01-13 17:03:03 -0800 |
commit | ae4b75d94a4a0f2545e6d90d6f9b8f162bf70ded (patch) | |
tree | 2ed8615d2239f7f349fab128cb3eaeec191f3abb /docs/graphx-programming-guide.md | |
parent | 1bd5cefcae2769d48ad5ef4b8197193371c754da (diff) | |
download | spark-ae4b75d94a4a0f2545e6d90d6f9b8f162bf70ded.tar.gz spark-ae4b75d94a4a0f2545e6d90d6f9b8f162bf70ded.tar.bz2 spark-ae4b75d94a4a0f2545e6d90d6f9b8f162bf70ded.zip |
Add EdgeDirection.Either and use it to fix CC bug
The bug was due to a misunderstanding of the activeSetOpt parameter to
Graph.mapReduceTriplets. Passing EdgeDirection.Both causes
mapReduceTriplets to run only on edges with *both* vertices in the
active set. This commit adds EdgeDirection.Either, which causes
mapReduceTriplets to run on edges with *either* vertex in the active
set. This is what connected components needed.
Diffstat (limited to 'docs/graphx-programming-guide.md')
0 files changed, 0 insertions, 0 deletions