Re: Strange behavior of collectNeighbors API in GraphX

2016-03-13 Thread Zhaokang Wang
-- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Strange-behavior-of-collectNeighbors-API-in-GraphX-tp26459p26468.html Sent from the Apache Spark User List mailing list archive at Nabble.com. -

Strange behavior of collectNeighbors API in GraphX

2016-03-11 Thread Zhaokang Wang
n context: http://apache-spark-user-list.1001560.n3.nabble.com/Strange-behavior-of-collectNeighbors-API-in-GraphX-tp26459.html Sent from the Apache Spark User List mailing list archive at Nabble.com.

Strange behavior of collectNeighbors API in GraphX

2016-03-11 Thread Zhaokang Wang
Hi all, These days I have met a problem of GraphX’s strange behavior on |collectNeighbors| API. It seems that this API has side-effects on the Pregel API. It makes Pregel API not work as expected. The following is a small code demo to reproduce this strange behavior. You can get the whole