Fixing bug in VertexSetRDD that breaks Graph tests.

This commit is contained in:
Joseph E. Gonzalez 2013-10-18 23:44:06 -07:00
parent 9cf43cfeb7
commit dbc8c9868a

View file

@ -219,7 +219,7 @@ class VertexSetRDD[V: ClassManifest](
if (other.partitioner == Some(partitioner)) other
else other.partitionBy(partitioner)
val newValues: RDD[ (IndexedSeq[(V,Option[W])], BitSet) ] =
index.rdd.zipPartitions(valuesRDD, other) {
index.rdd.zipPartitions(valuesRDD, otherShuffled) {
(thisIndexIter, thisIter, tuplesIter) =>
val index = thisIndexIter.next()
assert(!thisIndexIter.hasNext)