143 | | {{{ |
144 | | #!html |
145 | | <html lang="zh-tw"><head> |
146 | | |
147 | | <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>a.html</title> |
148 | | |
149 | | </head><body> |
150 | | <br> |
151 | | |
152 | | <p> |
153 | | </p><table summary="" border="1" cellpadding="3" cellspacing="0" width="100%"> |
154 | | <tbody><tr class="TableHeadingColor" bgcolor="#ccccff"> |
155 | | <th colspan="2" align="left"><font size="+2"> |
156 | | <b>Class Summary</b></font></th> |
157 | | </tr> |
158 | | <tr class="TableRowColor" bgcolor="white"> |
159 | | |
160 | | <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> |
161 | | <td>This is an example Aggregated Hadoop Map/Reduce application. It |
162 | | reads the text input files, breaks each line into words and counts |
163 | | them. The output is a locally sorted list of words and the count of how |
164 | | often they occurred. To run: bin/hadoop jar hadoop-*-examples.jar |
165 | | aggregatewordcount in-dir out-dir numOfReducers textinputformat </td> |
166 | | </tr> |
167 | | <tr class="TableRowColor" bgcolor="white"> |
168 | | <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> |
169 | | <td>This is an example Aggregated Hadoop Map/Reduce application. |
170 | | Computes the histogram of the words in the input texts. To run: |
171 | | bin/hadoop jar hadoop-*-examples.jar aggregatewordhist in-dir out-dir |
172 | | numOfReducers textinputformat </td> |
173 | | </tr> |
174 | | <tr class="TableRowColor" bgcolor="white"> |
175 | | <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> |
176 | | <td>A description of an example program based on its class and a human-readable description.</td> |
177 | | </tr> |
178 | | |
179 | | <tr class="TableRowColor" bgcolor="white"> |
180 | | <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> |
181 | | <td> </td> |
182 | | </tr> |
183 | | <tr class="TableRowColor" bgcolor="white"> |
184 | | <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> |
185 | | <td>This is the trivial map/reduce program that does absolutely nothing |
186 | | other than use the framework to fragment and sort the input values. To |
187 | | run: bin/hadoop jar build/hadoop-examples.jar join [-m maps] [-r |
188 | | reduces] [-inFormat input format class] [-outFormat output format |
189 | | class] [-outKey output key class] [-outValue output value class] |
190 | | [-joinOp] [in-dir]* in-dir out-dir</inner></td> |
191 | | </tr> |
192 | | <tr class="TableRowColor" bgcolor="white"> |
193 | | <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> |
194 | | <td>This program uses map/reduce to just run a distributed job where |
195 | | there is |
196 | | no interaction between the tasks and each task writes a large unsorted |
197 | | random sequence of words.To run: bin/hadoop jar |
198 | | hadoop-${version}-examples.jar randomtextwriter [-outFormat output |
199 | | format class] output</td> |
200 | | |
201 | | </tr> |
202 | | <tr class="TableRowColor" bgcolor="white"> |
203 | | <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> |
204 | | <td>This program uses map/reduce to just run a distributed job where |
205 | | there is |
206 | | no interaction between the tasks and each task write a large unsorted |
207 | | random binary sequence file of BytesWritable.To run: bin/hadoop jar |
208 | | hadoop-${version}-examples.jar randomwriter [-outFormat output format |
209 | | class] output</td> |
210 | | </tr> |
211 | | <tr class="TableRowColor" bgcolor="white"> |
212 | | <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> |
213 | | <td>This is the trivial map/reduce program that does absolutely nothing |
214 | | other than use the framework to fragment and sort the input values.To |
215 | | run: bin/hadoop jar build/hadoop-examples.jar sort [-m maps] [-r |
216 | | reduces] [-inFormat input format class] [-outFormat output format |
217 | | class] [-outKey output key class] [-outValue output value class] |
218 | | [-totalOrder pcnt num samples max splits] in-dir out-dir</td> |
219 | | </tr> |
220 | | <tr class="TableRowColor" bgcolor="white"> |
221 | | <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> |
222 | | |
223 | | <td>This is an example Hadoop Map/Reduce application.</td> |
224 | | </tr> |
225 | | </tbody></table> |
226 | | </body></html> |
227 | | }}} |
228 | | |