public class GroupByOrderByMRRTest
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupByOrderByMRRTest.MyGroupByReducer
Intermediate reducer aggregates the total count per department.
|
static class |
GroupByOrderByMRRTest.MyMapper
Mapper takes in a single line as input containing
employee name and department name and then
emits department name with count of 1
|
static class |
GroupByOrderByMRRTest.MyOrderByNoOpReducer
Shuffle ensures ordering based on count of employees per department
hence the final reducer is a no-op and just emits the department name
with the employee count per department.
|
| Constructor and Description |
|---|
GroupByOrderByMRRTest() |
Copyright © 2014 Apache Software Foundation. All rights reserved.