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