public class Sort<K,V>
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Modifier and Type | Field and Description |
---|---|
static String |
REDUCES_PER_HOST |
Constructor and Description |
---|
Sort() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.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.
|
public static final String REDUCES_PER_HOST
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
IOException
- When there is communication problems with the
job tracker.Exception
public org.apache.hadoop.mapreduce.Job getResult()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.