Monday 23 September 2019

spark_graphx_examples

------------------------------------------------

$SPARK_HOME/bin/run-example org.apache.spark.examples.graphx.LiveJournalPageRank file:/home/orienit/spark/input/graphx/pagerank.txt --numEPart=10 --output=file:/home/orienit/spark/output/pagerank-1

------------------------------------------------

$SPARK_HOME/bin/run-example org.apache.spark.examples.graphx.Analytics pagerank file:/home/orienit/spark/input/graphx/pagerank.txt --numEPart=10 --output=file:/home/orienit/spark/output/pagerank-2

$SPARK_HOME/bin/run-example org.apache.spark.examples.graphx.Analytics cc file:/home/orienit/spark/input/graphx/pagerank.txt --numEPart=10

$SPARK_HOME/bin/run-example org.apache.spark.examples.graphx.Analytics triangles file:/home/orienit/spark/input/graphx/pagerank.txt --numEPart=10

------------------------------------------------

$SPARK_HOME/bin/run-example org.apache.spark.examples.graphx.SynthBenchmark -app=pagerank niters=5 nverts=100

------------------------------------------------



------------------------------------------------

1 comment:

spark_streaming_examples

Create Spark Streaming Context: ========================================== scala: --------------- import org.apache.spark._ import ...