edu.umd.cloud9.example.hits
Class HFormatterWG
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.example.hits.HFormatterWG
- All Implemented Interfaces:
- Configurable, Tool
public class HFormatterWG
- extends Configured
- implements Tool
Driver program that takes a plain-text encoding of a directed graph and
builds corresponding Hadoop structures for representing the graph. This
program constructs a list of nodes with their outgoing links from a encoding
of nodes with outgoing links. It expects to
Command-line parameters are as follows:
- [input-path]: input directory
- [output-path]: output directory
- [num-mappers]: number of mappers to start
- [num-reducers]: number of reducers to start
- [stoplist-path]: path to file containing nodeIDs to ignore
- Author:
- Mike McGrath
HFormatterWG
public HFormatterWG()
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