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] outputConstructor 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.Tool
java.io.IOException
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright © 2009 The Apache Software Foundation