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, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
public int run(String[] args) throws Exception
run
在接口中 Tool
args
- command specific arguments.IOException
Exception
Copyright © 2009 The Apache Software Foundation