public class RandomTextWriter
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.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| Constructor 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.
|
public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolIOExceptionExceptionCopyright © 2009 The Apache Software Foundation