Fixing bug in VertexSetRDD that breaks Graph tests.
This commit is contained in:
parent
9cf43cfeb7
commit
dbc8c9868a
|
@ -219,7 +219,7 @@ class VertexSetRDD[V: ClassManifest](
|
||||||
if (other.partitioner == Some(partitioner)) other
|
if (other.partitioner == Some(partitioner)) other
|
||||||
else other.partitionBy(partitioner)
|
else other.partitionBy(partitioner)
|
||||||
val newValues: RDD[ (IndexedSeq[(V,Option[W])], BitSet) ] =
|
val newValues: RDD[ (IndexedSeq[(V,Option[W])], BitSet) ] =
|
||||||
index.rdd.zipPartitions(valuesRDD, other) {
|
index.rdd.zipPartitions(valuesRDD, otherShuffled) {
|
||||||
(thisIndexIter, thisIter, tuplesIter) =>
|
(thisIndexIter, thisIter, tuplesIter) =>
|
||||||
val index = thisIndexIter.next()
|
val index = thisIndexIter.next()
|
||||||
assert(!thisIndexIter.hasNext)
|
assert(!thisIndexIter.hasNext)
|
||||||
|
|
Loading…
Reference in a new issue