At 2014-11-26 05:25:10 -0800, Hlib Mykhailenko <[email protected]>
wrote:
> I work with Graphx. When I call "graph.partitionBy(..)" nothing happens,
> because, as I understood, that all transformation are lazy and partitionBy is
> built using transformations.
> Is there way how to force spark to actually execute this transformation and
> not use any action?
If you just want the transformation to run without returning anything, such as
for benchmarking, you can use graph.partitionBy(...).foreachPartition(x => {}).
Ankur
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]