edu.umd.cloud9.example.bfs
Class EncodeBFSGraph
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.example.bfs.EncodeBFSGraph
- All Implemented Interfaces:
- Configurable, Tool
public class EncodeBFSGraph
- extends Configured
- implements Tool
Tool for taking a plain-text encoding of a directed graph and building
corresponding Hadoop structures for running parallel breadth-first search.
- Author:
- Jimmy Lin
|
Method Summary |
static void |
main(String[] args)
Dispatches command-line arguments to the tool via the
ToolRunner. |
int |
run(String[] args)
Runs this tool. |
EncodeBFSGraph
public EncodeBFSGraph()
run
public int run(String[] args)
throws Exception
- Runs this tool.
- Specified by:
run in interface Tool
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Dispatches command-line arguments to the tool via the
ToolRunner.
- Throws:
Exception