The triangle count failed for me when I ran it on more than one node. There
was this assertion in TriangleCount.scala:
// double count should be even (divisible by two)
assert((dblCount & 1) == 0)
That did not hold true when I ran this on multiple nodes, even when
following the gui
Well, you could run the driver in several ways, like using IDEA run, or using
sbt run, the spark-shell, or even the run-example script, so long as you
give the driver the right args. Here is an example using run-example script:
# in spark-0.9.0 home dir, the first arg is your master, the second is
Thanks very much Cui.
Could you give me more detail about how to run the driver? I tried sometimes
but all failed.
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/TriangleCount-Shortest-Path-under-Spark-tp2439p2608.html
Sent from the Apache Spark User Li
1. There is a driver program named Analystics with a main method in
graphx/.../lib, you should start the TriangleCount by this driver.
2. Good luck.
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/TriangleCount-Shortest-Path-under-Spark-tp2439p2577.html
Se