public class TeraGen extends Configured implements Tool
To run the program: bin/hadoop jar hadoop-examples-*.jar teragen 10000000000 in-dir
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TeraGen.SortGenMapper
The Mapper class that given a row number, will generate the appropriate
output line.
|
| 构造器和说明 |
|---|
TeraGen() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
main(String[] args) |
int |
run(String[] args)
Execute the command with the given arguments.
|
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic int run(String[] args) throws IOException
Toolrun 在接口中 Toolargs - the cli argumentsIOExceptionCopyright © 2009 The Apache Software Foundation