48 | | <html lang="zh-tw"><head> |
49 | | |
50 | | <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>a.html</title> |
51 | | |
52 | | </head><body> |
53 | | <br> |
54 | | |
55 | | <p> |
56 | | </p><table summary="" border="1" cellpadding="3" cellspacing="0" width="100%"> |
57 | | <tbody><tr class="TableHeadingColor" bgcolor="#ccccff"> |
58 | | <th colspan="2" align="left"><font size="+2"> |
59 | | <b>Class Summary</b></font></th> |
60 | | </tr> |
61 | | <tr class="TableRowColor" bgcolor="white"> |
62 | | |
63 | | <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> |
64 | | <td>This is an example Aggregated Hadoop Map/Reduce application. It |
65 | | reads the text input files, breaks each line into words and counts |
66 | | them. The output is a locally sorted list of words and the count of how |
67 | | often they occurred. To run: bin/hadoop jar hadoop-*-examples.jar |
68 | | aggregatewordcount in-dir out-dir 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/AggregateWordHistogram.html" title="class in org.apache.hadoop.examples">AggregateWordHistogram</a></b></td> |
72 | | <td>This is an example Aggregated Hadoop Map/Reduce application. |
73 | | Computes the histogram of the words in the input texts. To run: |
74 | | bin/hadoop jar hadoop-*-examples.jar aggregatewordhist in-dir out-dir |
75 | | numOfReducers textinputformat </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/ExampleDriver.html" title="class in org.apache.hadoop.examples">ExampleDriver</a></b></td> |
79 | | <td>A description of an example program based on its class and a human-readable description.</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/Grep.html" title="class in org.apache.hadoop.examples">Grep</a></b></td> |
84 | | <td> </td> |
85 | | </tr> |
86 | | |
87 | | <tr class="TableRowColor" bgcolor="white"> |
88 | | <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> |
89 | | <td>This program uses map/reduce to just run a distributed job where |
90 | | there is |
91 | | no interaction between the tasks and each task writes a large unsorted |
92 | | random sequence of words.To run: bin/hadoop jar |
93 | | hadoop-${version}-examples.jar randomtextwriter [-outFormat output |
94 | | format class] output</td> |
95 | | |
96 | | </tr> |
97 | | <tr class="TableRowColor" bgcolor="white"> |
98 | | <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> |
99 | | <td>This program uses map/reduce to just run a distributed job where |
100 | | there is |
101 | | no interaction between the tasks and each task write a large unsorted |
102 | | random binary sequence file of BytesWritable.To run: bin/hadoop jar |
103 | | hadoop-${version}-examples.jar randomwriter [-outFormat output format |
104 | | class] output</td> |
105 | | </tr> |
106 | | <tr class="TableRowColor" bgcolor="white"> |
107 | | <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> |
108 | | <td>This is the trivial map/reduce program that does absolutely nothing |
109 | | other than use the framework to fragment and sort the input values.To |
110 | | run: bin/hadoop jar build/hadoop-examples.jar sort [-m maps] [-r |
111 | | reduces] [-inFormat input format class] [-outFormat output format |
112 | | class] [-outKey output key class] [-outValue output value class] |
113 | | [-totalOrder pcnt num samples max splits] in-dir out-dir</td> |
114 | | </tr> |
115 | | <tr class="TableRowColor" bgcolor="white"> |
116 | | <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> |
117 | | |
118 | | <td>This is an example Hadoop Map/Reduce application.</td> |
119 | | </tr> |
120 | | </tbody></table> |
121 | | </body></html> |
122 | | }}} |