org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Toolpublic class Sort<K,V>
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
REDUCES_PER_HOST |
| Constructor | Description |
|---|---|
Sort() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.mapreduce.Job |
getResult() |
Get the last job that was run using this instance.
|
static void |
main(java.lang.String[] args) |
|
int |
run(java.lang.String[] args) |
The main driver for sort program.
|
public static final java.lang.String REDUCES_PER_HOST
public int run(java.lang.String[] args)
throws java.lang.Exception
run in interface org.apache.hadoop.util.Tooljava.io.IOException - When there is communication problems with the
job tracker.java.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic org.apache.hadoop.mapreduce.Job getResult()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.