MAPREDUCE-4981. Add WordMean, WordMedian, WordStandardDeviation to ExamplesDriver. Contributed by Plamen Jeliazkov.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1467076 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Konstantin Shvachko 2013-04-11 20:28:30 +00:00
parent 3131636249
commit 21c14c0b02
2 changed files with 9 additions and 0 deletions

View File

@ -185,6 +185,9 @@ Release 2.0.5-beta - UNRELEASED
history, instaed of simulating state machine events. history, instaed of simulating state machine events.
(Jason Lowe and Robert Parker via sseth) (Jason Lowe and Robert Parker via sseth)
MAPREDUCE-4981. Add WordMean, WordMedian, WordStandardDeviation
to ExamplesDriver. (Plamen Jeliazkov via shv)
OPTIMIZATIONS OPTIMIZATIONS
BUG FIXES BUG FIXES

View File

@ -38,6 +38,12 @@ public class ExampleDriver {
try { try {
pgd.addClass("wordcount", WordCount.class, pgd.addClass("wordcount", WordCount.class,
"A map/reduce program that counts the words in the input files."); "A map/reduce program that counts the words in the input files.");
pgd.addClass("wordmean", WordMean.class,
"A map/reduce program that counts the average length of the words in the input files.");
pgd.addClass("wordmedian", WordMedian.class,
"A map/reduce program that counts the median length of the words in the input files.");
pgd.addClass("wordstandarddeviation", WordStandardDeviation.class,
"A map/reduce program that counts the standard deviation of the length of the words in the input files.");
pgd.addClass("aggregatewordcount", AggregateWordCount.class, pgd.addClass("aggregatewordcount", AggregateWordCount.class,
"An Aggregate based map/reduce program that counts the words in the input files."); "An Aggregate based map/reduce program that counts the words in the input files.");
pgd.addClass("aggregatewordhist", AggregateWordHistogram.class, pgd.addClass("aggregatewordhist", AggregateWordHistogram.class,