Computes the PageRank of URLs from an input file. Input file should
be in format of:
URL neighbor URL
URL neighbor URL
URL neighbor URL
...
where URL and their neighbors are separated by space(s).
This is an example implementation for learning how to use Spark. For more conventional use,
please refer to org.apache.spark.graphx.lib.PageRank
Computes the PageRank of URLs from an input file. Input file should be in format of: URL neighbor URL URL neighbor URL URL neighbor URL ... where URL and their neighbors are separated by space(s).
This is an example implementation for learning how to use Spark. For more conventional use, please refer to org.apache.spark.graphx.lib.PageRank
Example Usage:
bin/run-example SparkPageRank data/mllib/pagerank_data.txt 10