public class WordMedian
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
static class |
WordMedian.WordMedianMapper
Maps words from line of text into a key-value pair; the length of the word
as the key, and 1 as the value.
|
static class |
WordMedian.WordMedianReducer
Performs integer summation of all the values for each key.
|
Constructor and Description |
---|
WordMedian() |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.