larryxiao/spark — pull request #1 by ankurdave (2014-09-17 18:21:30+00:00)
Title: ShippableVertexPartition.initFrom: Don't run mergeFunc on default values

Now that we're taking a mergeFunc in ShippableVertexPartition.initFrom, it's not ideal to use the iterator concatenation approach for setting the default values anymore, because the mergeFunc will get run on the default value, which might surprise users. This PR avoids this by doing the merge first, *then* populating the default values.