public class SecondarySort
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
SecondarySort.FirstGroupingComparator
Compare only the first part of the pair, so that reduce is called once
for each value of the first part.
|
static class |
SecondarySort.FirstPartitioner
Partition based on the first part of the pair.
|
static class |
SecondarySort.IntPair
Define a pair of integers that are writable.
|
static class |
SecondarySort.MapClass
Read two integers from each line and generate a key, value pair
as ((left, right), right).
|
static class |
SecondarySort.Reduce
A reducer class that just emits the sum of the input values.
|
| Constructor and Description |
|---|
SecondarySort() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
int |
run(String[] args) |
Copyright © 2020 Apache Software Foundation. All rights reserved.