public class TeraGen
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
To run the program: bin/hadoop jar hadoop-examples-*.jar teragen 10000000000 in-dir
Modifier and Type | Class and Description |
---|---|
static class |
TeraGen.SortGenMapper
The Mapper class that given a row number, will generate the appropriate
output line.
|
Constructor and Description |
---|
TeraGen() |
public int run(java.lang.String[] args) throws java.io.IOException
run
in interface org.apache.hadoop.util.Tool
args
- the cli argumentsjava.io.IOException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright © 2009 The Apache Software Foundation