Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.3-alpha, 3.0.0-alpha1
-
None
-
None
-
Reviewed
Description
https://issues.apache.org/jira/browse/MAPREDUCE-2669 introduced 3 new MapReduce examples, but they were never added to the ExamplesDriver.
This JIRA proposes to add them to the ExamplesDriver. I have ran them myself and can confirm the examples still work as intended.
As a workaround for now, people can still run them by:
bin/hadoop org.apache.hadoop.examples.WordMean <input file/dir path> <output dir path>
bin/hadoop org.apache.hadoop.examples.WordMedian <input file/dir path> <output dir path>
bin/hadoop org.apache.hadoop.examples.WordStandardDeviation <input file/dir path> <output dir path>
Post-patch, people will be able to run them by:
bin/hadoop jar /HADOOP_PATH/share/lib/mapreduce-examples.jar <wordmean|wordmedian|wordstandarddeviation> <input file/dir path> <output dir path>
Just like they do for running the wordcount example.
Attachments
Attachments
Issue Links
- relates to
-
MAPREDUCE-2669 Some new examples and test cases for them.
- Resolved