public class Sort<K,V> extends Configured implements Tool
Modifier and Type | Field and Description |
---|---|
static String |
REDUCES_PER_HOST |
Constructor and Description |
---|
Sort() |
Modifier and Type | Method and Description |
---|---|
Job |
getResult()
Get the last job that was run using this instance.
|
static void |
main(String[] args) |
int |
run(String[] args)
The main driver for sort program.
|
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
public static final String REDUCES_PER_HOST
public int run(String[] args) throws Exception
run
in interface Tool
args
- command specific arguments.IOException
- When there is communication problems with the
job tracker.Exception
public Job getResult()
Copyright © 2013 Apache Software Foundation. All rights reserved.