This folder contains Cloud Computing 2021 Experiment submission files. Please check Report.pdf
for details.
image-buildscript
: For building custom mirrorHuaweiCloud-openAPI
: For Creating Virtual MachinesWordCount
: WordCount source file and resultsGraphX
: Connected Component sourcesPageRank
: Page Rank sourcesReport.pdf
: The report PDF file
- Copy the entire dir
GraphX
on to VM - run under
GraphX
:sbt package
- upload two txt files onto HDFS
data/graphx
folder - run
spark-submit --class "org.apache.spark.examples.graphx.ConnectedComponentsExample" target/scala-2.12/graphx-connected-component_2.12-1.0.jar
- See the results in STDOUT.
- Copy the entire dir
PageRank
on to VM - run under
PageRank
:sbt package
- upload three txt files onto HDFS
data
folder - run
spark-submit --class "PageRankWiki" target/scala-2.12/graphx-pagerank-wiki-users_2.12-1.0.jar
- See the results in STDOUT.