edu.umd.cloud9.example.pagerank
Class RunPageRankBasic

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by edu.umd.cloud9.example.pagerank.RunPageRankBasic
All Implemented Interfaces:
Configurable, Tool

public class RunPageRankBasic
extends Configured
implements Tool

Main driver program for running the basic (non-Schimmy) implementation of PageRank. Command-line arguments are as follows:

The starting and ending iterations will correspond to paths /base/path/iterXXXX and /base/path/iterYYYY. As a example, if you specify 0 and 10 as the starting and ending iterations, the driver program will start with the graph structure stored at /base/path/iter0000; final results will be stored at /base/path/iter0010.

Author:
Jimmy Lin, Michael Schatz
See Also:
RunPageRankSchimmy

Constructor Summary
RunPageRankBasic()
           
 
Method Summary
static void main(String[] args)
          Dispatches command-line arguments to the tool via the ToolRunner.
 int run(String[] args)
          Runs this tool.
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Constructor Detail

RunPageRankBasic

public RunPageRankBasic()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Dispatches command-line arguments to the tool via the ToolRunner.

Throws:
Exception

run

public int run(String[] args)
        throws Exception
Runs this tool.

Specified by:
run in interface Tool
Throws:
Exception