edu.umd.cloud9.example.hits
Class MergeFormattedRecords
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.example.hits.MergeFormattedRecords
- All Implemented Interfaces:
- Configurable, Tool
public class MergeFormattedRecords
- extends Configured
- implements Tool
Driver program to merges the output of HFormatterWG and AFormatterWG into a
single set of of output files. It takes five command line arguments:
- [hub-input-path]: input directory containing output of HFormatterWG
- [auth-input-path]: input directory containing output of AFormatterWG
- [output-path]: output directory
- [num-mappers]: number of mappers to use (may be overridden by Hadoop)
- [num-reducers]: number of reducers to use, also the number of output files
- Author:
- Mike McGrath
- See Also:
HFormatterWG,
AFormatterWG
MergeFormattedRecords
public MergeFormattedRecords()
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
- Parameters:
args -
- Throws:
Exception