public class RandomWriter extends Configured implements Tool
RandomWriter also supports all the above options
and ones supported by GenericOptionsParser via the command-line.| Modifier and Type | Field and Description |
|---|---|
static String |
BYTES_PER_MAP |
static String |
MAPS_PER_HOST |
static String |
MAX_KEY |
static String |
MAX_VALUE |
static String |
MIN_KEY |
static String |
MIN_VALUE |
static String |
TOTAL_BYTES |
| Constructor and Description |
|---|
RandomWriter() |
| 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, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic static final String TOTAL_BYTES
public static final String BYTES_PER_MAP
public static final String MAPS_PER_HOST
public static final String MAX_VALUE
public static final String MIN_VALUE
public static final String MIN_KEY
public static final String MAX_KEY
public int run(String[] args) throws Exception
run in interface Toolargs - command specific arguments.IOExceptionExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.