edu.umd.cloud9.webgraph.driver
Class GenerateTabDelimitedWebGraph
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.webgraph.driver.GenerateTabDelimitedWebGraph
- All Implemented Interfaces:
- Configurable, Tool
public class GenerateTabDelimitedWebGraph
- extends Configured
- implements Tool
Main driver program for generating a tab-delimited web graph. Each line in the output file
starts with a [node-id] and is followed by a list of [node-id]s all separated by tab characters.
The first part indicates a page in the web graph, and the rest are the pages which are directly
pointed to by that pages. Command-line arguments are as follows:
- [input-path]: the base path to the webgraph
- [output-path]: the output path
- Author:
- Nima Asadi
GenerateTabDelimitedWebGraph
public GenerateTabDelimitedWebGraph()
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