Github user aray commented on a diff in the pull request:
https://github.com/apache/spark/pull/16271#discussion_r92621591
--- Diff:
graphx/src/test/scala/org/apache/spark/graphx/lib/PageRankSuite.scala ---
@@ -70,10 +70,10 @@ class PageRankSuite extends SparkFunSuite with
LocalSparkContext {
val resetProb = 0.15
val errorTol = 1.0e-5
- val staticRanks1 = starGraph.staticPageRank(numIter = 1,
resetProb).vertices
- val staticRanks2 = starGraph.staticPageRank(numIter = 2,
resetProb).vertices.cache()
+ val staticRanks1 = starGraph.staticPageRank(numIter = 2,
resetProb).vertices
--- End diff --
Not really more robust since it has a sink and thus is still wrong pending
SPARK-18847. But it is needed with the change to fully propagate the change in
rank of source vertices in the first iteration as explained above.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]