| 50 | | </p><table summary="" border="1" cellpadding="3" cellspacing="0" width="100%"> |
| 51 | | <tbody><tr class="TableHeadingColor" bgcolor="#ccccff"> |
| 52 | | <th colspan="2" align="left"><font size="+2"> |
| 53 | | <b>Class Summary</b></font></th> |
| 54 | | </tr> |
| 55 | | |
| 56 | | <tr class="TableRowColor" bgcolor="white"> |
| 57 | | <td width="15%"><b><a href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/AggregateWordCount.html" title="class in org.apache.hadoop.examples">AggregateWordCount</a></b></td> |
| 58 | | |
| 59 | | <td>This is an example Aggregated Hadoop Map/Reduce application. It reads the text input files, breaks each line into words and counts them. The output is a locally sorted list of words and the count of how often they occurred. To run: bin/hadoop jar hadoop-*-examples.jar aggregatewordcount in-dir out-dir numOfReducers textinputformat </td> |
| 60 | | </tr> |
| 61 | | |
| 62 | | <tr class="TableRowColor" bgcolor="white"> |
| 63 | | <td width="15%"><b><a href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/AggregateWordHistogram.html" title="class in org.apache.hadoop.examples">AggregateWordHistogram</a></b></td> |
| 64 | | <td>This is an example Aggregated Hadoop Map/Reduce application. Computes the histogram of the words in the input texts. To run: bin/hadoop jar hadoop-*-examples.jar aggregatewordhist in-dir out-dir numOfReducers textinputformat </td> |
| 65 | | </tr> |
| 66 | | |
| 67 | | <tr class="TableRowColor" bgcolor="white"> |
| 68 | | <td width="15%"><b><a href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/ExampleDriver.html" title="class in org.apache.hadoop.examples">ExampleDriver</a></b></td> |
| 69 | | <td>A description of an example program based on its class and a |
| 70 | | human-readable description.</td> |
| 71 | | </tr> |
| 72 | | <tr class="TableRowColor" bgcolor="white"> |
| 73 | | <td width="15%"><b><a href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/Grep.html" title="class in org.apache.hadoop.examples">Grep</a></b></td> |
| 74 | | |
| 75 | | <td> </td> |
| 76 | | </tr> |
| 77 | | <tr class="TableRowColor" bgcolor="white"> |
| 78 | | <td width="15%"><b><a href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/Join.html" title="class in org.apache.hadoop.examples">Join</a></b></td> |
| 79 | | <td>This is the trivial map/reduce program that does absolutely nothing other than use the framework to fragment and sort the input values. To run: bin/hadoop jar build/hadoop-examples.jar join [-m maps] [-r reduces] [-inFormat input format class] [-outFormat output format class] [-outKey output key class] [-outValue output value class] [-joinOp <inner|outer|override>] [in-dir]* in-dir out-dir</td> |
| 80 | | </tr> |
| 81 | | |
| 82 | | <tr class="TableRowColor" bgcolor="white"> |
| 83 | | <td width="15%"><b><a href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/RandomTextWriter.html" title="class in org.apache.hadoop.examples">RandomTextWriter</a></b></td> |
| 84 | | <td>This program uses map/reduce to just run a distributed job where there is |
| 85 | | no interaction between the tasks and each task writes a large unsorted |
| 86 | | random sequence of words.To run: bin/hadoop jar hadoop-${version}-examples.jar randomtextwriter [-outFormat output format class] output</td> |
| 87 | | </tr> |
| 88 | | |
| 89 | | <tr class="TableRowColor" bgcolor="white"> |
| 90 | | <td width="15%"><b><a href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/RandomWriter.html" title="class in org.apache.hadoop.examples">RandomWriter</a></b></td> |
| 91 | | <td>This program uses map/reduce to just run a distributed job where there is |
| 92 | | no interaction between the tasks and each task write a large unsorted |
| 93 | | random binary sequence file of BytesWritable.To run: bin/hadoop jar hadoop-${version}-examples.jar randomwriter [-outFormat output format class] output</td> |
| 94 | | </tr> |
| 95 | | |
| 96 | | <tr class="TableRowColor" bgcolor="white"> |
| 97 | | <td width="15%"><b><a href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/Sort.html" title="class in org.apache.hadoop.examples">Sort<K,V></a></b></td> |
| 98 | | <td>This is the trivial map/reduce program that does absolutely nothing |
| 99 | | other than use the framework to fragment and sort the input values.To run: bin/hadoop jar build/hadoop-examples.jar sort [-m maps] [-r reduces] [-inFormat input format class] [-outFormat output format class] [-outKey output key class] [-outValue output value class] [-totalOrder pcnt num samples max splits] in-dir out-dir</td> |
| 100 | | </tr> |
| 101 | | |
| 102 | | <tr class="TableRowColor" bgcolor="white"> |
| 103 | | <td width="15%"><b><a href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/WordCount.html" title="class in org.apache.hadoop.examples">WordCount</a></b></td> |
| 104 | | <td>This is an example Hadoop Map/Reduce application.</td> |
| 105 | | </tr> |
| 106 | | |
| 107 | | </tbody></table> |
| 108 | | |
| 109 | | }}} |