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] outputConstructor and Description |
---|
RandomTextWriter() |
Modifier and Type | Method and Description |
---|---|
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
in interface Tool
args
- command specific arguments.IOException
Exception
Copyright © 2010 The Apache Software Foundation