You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-commits@hadoop.apache.org by sh...@apache.org on 2013/04/11 22:28:30 UTC
svn commit: r1467076 - in /hadoop/common/trunk/hadoop-mapreduce-project:
CHANGES.txt
hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/ExampleDriver.java
Author: shv
Date: Thu Apr 11 20:28:30 2013
New Revision: 1467076
URL: http://svn.apache.org/r1467076
Log:
MAPREDUCE-4981. Add WordMean, WordMedian, WordStandardDeviation to ExamplesDriver. Contributed by Plamen Jeliazkov.
Modified:
hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/ExampleDriver.java
Modified: hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt?rev=1467076&r1=1467075&r2=1467076&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt Thu Apr 11 20:28:30 2013
@@ -185,6 +185,9 @@ Release 2.0.5-beta - UNRELEASED
history, instaed of simulating state machine events.
(Jason Lowe and Robert Parker via sseth)
+ MAPREDUCE-4981. Add WordMean, WordMedian, WordStandardDeviation
+ to ExamplesDriver. (Plamen Jeliazkov via shv)
+
OPTIMIZATIONS
BUG FIXES
Modified: hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/ExampleDriver.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/ExampleDriver.java?rev=1467076&r1=1467075&r2=1467076&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/ExampleDriver.java (original)
+++ hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/ExampleDriver.java Thu Apr 11 20:28:30 2013
@@ -38,6 +38,12 @@ public class ExampleDriver {
try {
pgd.addClass("wordcount", WordCount.class,
"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,
"An Aggregate based map/reduce program that counts the words in the input files.");
pgd.addClass("aggregatewordhist", AggregateWordHistogram.class,