public class TeraGen extends Configured implements Tool
To run the program: bin/hadoop jar hadoop-*-examples.jar teragen 10000000000 in-dir
| Modifier and Type | Class and Description |
|---|---|
static class |
TeraGen.Counters |
static class |
TeraGen.SortGenMapper
The Mapper class that given a row number, will generate the appropriate
output line.
|
| Constructor and Description |
|---|
TeraGen() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
int |
run(String[] args) |
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic static final String NUM_ROWS
public int run(String[] args) throws IOException, InterruptedException, ClassNotFoundException
run in interface Toolargs - the cli argumentsIOExceptionInterruptedExceptionClassNotFoundExceptionCopyright © 2018 CERN. All Rights Reserved.