|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Class Summary | |
---|---|
SecondarySort | An example MapReduce job showing how the Tuple and ShuffleUtils can be used in conjunction with
each other to secondary sort people's names. |
SecondarySort.Map | This map class simply tokenizes each input line, and emits a (tuple, line) pair, where the tuple contains the last and first name. |
SecondarySort.Reduce | The reducer just emits the map output values, allowing us to examine the resulting output and determine the results of the secondary sort. |
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |