Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4981

WordMean, WordMedian, WordStandardDeviation missing from ExamplesDriver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.3-alpha, 3.0.0-alpha1
    • 2.1.0-beta
    • None
    • None

    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

        1. MAPREDUCE-4981.patch
          5 kB
          Plamen Jeliazkov

        Issue Links

          Activity

            People

              zero45 Plamen Jeliazkov
              zero45 Plamen Jeliazkov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: