-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun-graph-algos.sh
25 lines (17 loc) · 969 Bytes
/
run-graph-algos.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## Build jar file
cd app/ && sbt assembly
# go back of app
cd ..
## run graph algorithims as if the PWD was at this location i.e. CitationGraphAnalysis/grah-anayltics/
# Start master node.
$SPARK_HOME/sbin/start-master.sh
# Run worker
$SPARK_HOME/sbin/start-worker.sh spark://LAPTOP-I3QDVRGC.localdomain:7077
# Run degree centraility
$SPARK_HOME/bin/spark-submit --class DegreeMain --master local[4] app/target/scala-2.12/Graph\ Algos-assembly-1.4.9.jar
# Run label propagation
$SPARK_HOME/bin/spark-submit --class LabelPropagationMain --master local[4] app/target/scala-2.12/Graph\ Algos-assembly-1.4.9.jar
# Run global, local and traingular counts for researchers
$SPARK_HOME/bin/spark-submit --class LocalGlobalClusteringMain --master local[4] app/target/scala-2.12/Graph\ Algos-assembly-1.4.9.jar
# Run page rank for researchers
$SPARK_HOME/bin/spark-submit --class PageRankMain --master local[4] app/target/scala-2.12/Graph\ Algos-assembly-1.4.9.jar