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(java.lang.String[] args) |
int |
run(java.lang.String[] args)
This is the main routine for launching a distributed random write job.
|
public int run(java.lang.String[] args)
throws java.lang.Exception
run in interface org.apache.hadoop.util.Tooljava.io.IOExceptionjava.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2009 The Apache Software Foundation