edu.umd.cloud9.webgraph.driver
Class SortWebGraph
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.webgraph.driver.SortWebGraph
- All Implemented Interfaces:
- Configurable, Tool
public class SortWebGraph
- extends Configured
- implements Tool
Main driver program for sorting the web graph. Command-line arguments are as follows:
- [input-path]: the input web graph (, (weighted) inverse web graph, etc.)
- [output-path]: the output path
- [number-of-documents]: an estimate of the number of pages in the graph
- [number-of-reducers]: number of reducers
- Author:
- Nima Asadi
SortWebGraph
public SortWebGraph()
run
public int run(String[] args)
throws Exception
- Specified by:
run in interface Tool
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception