public class RandomTextWriter extends Configured implements Tool
RandomTextWriter also supports all the above options
and ones supported by Tool via the command-line.
To run: bin/hadoop jar hadoop-${version}-examples.jar randomtextwriter
[-outFormat output format class] output| 构造器和说明 |
|---|
RandomTextWriter() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
main(String[] args) |
int |
run(String[] args)
This is the main routine for launching a distributed random write job.
|
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic int run(String[] args) throws Exception
run 在接口中 Toolargs - command specific arguments.IOExceptionExceptionCopyright © 2009 The Apache Software Foundation