E M O R S W

E

EXAMPLE_NAMES - Static variable in class org.htuple.examples.SecondarySort
Sample input used by this example job.

M

main(String[]) - Static method in class org.htuple.examples.SecondarySort
Main entry point for the example.
map(LongWritable, Text, Mapper<LongWritable, Text, Tuple, Text>.Context) - Method in class org.htuple.examples.SecondarySort.Map
 

O

org.htuple.examples - package org.htuple.examples
 

R

reduce(Tuple, Iterable<Text>, Reducer<Tuple, Text, Text, NullWritable>.Context) - Method in class org.htuple.examples.SecondarySort.Reduce
 
run(String[]) - Method in class org.htuple.examples.SecondarySort
The MapReduce driver - setup and launch the job.

S

SecondarySort - Class in org.htuple.examples
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() - Constructor for class org.htuple.examples.SecondarySort
 
SecondarySort.Map - Class in org.htuple.examples
This map class simply tokenizes each input line, and emits a (tuple, line) pair, where the tuple contains the last and first name.
SecondarySort.Map() - Constructor for class org.htuple.examples.SecondarySort.Map
 
SecondarySort.Reduce - Class in org.htuple.examples
The reducer just emits the map output values, allowing us to examine the resulting output and determine the results of the secondary sort.
SecondarySort.Reduce() - Constructor for class org.htuple.examples.SecondarySort.Reduce
 
setupSecondarySort(Configuration) - Static method in class org.htuple.examples.SecondarySort
Partition and group on just the last name; sort on both last and first name.
stringToTuple(String) - Static method in class org.htuple.examples.SecondarySort
Split the input line and return a Tuple representation of the last and first names.

W

writeInput(Configuration, Path) - Static method in class org.htuple.examples.SecondarySort
Writes the contents of SecondarySort.EXAMPLE_NAMES into a file in the job input directory in HDFS.

E M O R S W

Copyright © 2013. All Rights Reserved.