Changes between Version 16 and Version 17 of jazz/Hadoop_Lab2
- Timestamp:
- Mar 24, 2009, 2:15:35 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/Hadoop_Lab2
v16 v17 348 348 {{{ 349 349 #!html 350 <html lang="zh-tw"><head>351 352 <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>a.html</title>353 354 </head><body>355 350 <br> 356 351 357 <p> 358 </p><table summary="" border="1" cellpadding="3" cellspacing="0" width="100%"> 359 <tbody><tr class="TableHeadingColor" bgcolor="#ccccff"> 360 <th colspan="2" align="left"><font size="+2"> 361 <b>Class Summary</b></font></th> 362 </tr> 363 <tr class="TableRowColor" bgcolor="white"> 364 365 <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> 366 <td>This is an example Aggregated Hadoop Map/Reduce application. It 367 reads the text input files, breaks each line into words and counts 368 them. The output is a locally sorted list of words and the count of how 369 often they occurred. To run: bin/hadoop jar hadoop-*-examples.jar 370 aggregatewordcount in-dir out-dir numOfReducers textinputformat </td> 371 </tr> 372 <tr class="TableRowColor" bgcolor="white"> 373 <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> 374 <td>This is an example Aggregated Hadoop Map/Reduce application. 375 Computes the histogram of the words in the input texts. To run: 376 bin/hadoop jar hadoop-*-examples.jar aggregatewordhist in-dir out-dir 377 numOfReducers textinputformat </td> 378 </tr> 379 <tr class="TableRowColor" bgcolor="white"> 380 <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> 381 <td>A description of an example program based on its class and a human-readable description.</td> 382 </tr> 383 384 <tr class="TableRowColor" bgcolor="white"> 385 <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> 386 <td> </td> 387 </tr> 388 <tr class="TableRowColor" bgcolor="white"> 389 <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> 390 <td>This is the trivial map/reduce program that does absolutely nothing 352 <p style="text-align: center;"> 353 354 <font size="+2"> 355 <b>Class Summary</b></font></p><table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"><tbody><tr><td><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><td>This is an example Aggregated Hadoop Map/Reduce application. It reads 356 the text input files, breaks each line into words and counts them. The 357 output is a locally sorted list of words and the count of how often 358 they occurred. To run: bin/hadoop jar hadoop-*-examples.jar 359 aggregatewordcount in-dir out-dir numOfReducers textinputformat</td></tr><tr><td><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><td>This is an example Aggregated Hadoop Map/Reduce application. Computes 360 the histogram of the words in the input texts. To run: bin/hadoop jar 361 hadoop-*-examples.jar aggregatewordhist in-dir out-dir numOfReducers 362 textinputformat</td></tr><tr><td><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><td>A description of an example program based on its class and a human-readable description.</td></tr><tr><td><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><td></td></tr><tr><td><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><td>This is the trivial map/reduce program that does absolutely nothing 391 363 other than use the framework to fragment and sort the input values. To 392 364 run: bin/hadoop jar build/hadoop-examples.jar join [-m maps] [-r 393 365 reduces] [-inFormat input format class] [-outFormat output format 394 366 class] [-outKey output key class] [-outValue output value class] 395 [-joinOp <inner |outer|override="">] [in-dir]* in-dir out-dir</inner></td> 396 </tr> 397 <tr class="TableRowColor" bgcolor="white"> 398 <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> 399 <td>This program uses map/reduce to just run a distributed job where 400 there is 367 [-joinOp <inner |outer|override="">] [in-dir]* in-dir out-dir</inner></td></tr><tr><td><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><td>This program uses map/reduce to just run a distributed job where there 368 is 401 369 no interaction between the tasks and each task writes a large unsorted 402 370 random sequence of words.To run: bin/hadoop jar 403 371 hadoop-${version}-examples.jar randomtextwriter [-outFormat output 404 format class] output</td> 405 406 </tr> 407 <tr class="TableRowColor" bgcolor="white"> 408 <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> 409 <td>This program uses map/reduce to just run a distributed job where 410 there is 372 format class] output</td></tr><tr><td><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><td>This program uses map/reduce to just run a distributed job where there 373 is 411 374 no interaction between the tasks and each task write a large unsorted 412 375 random binary sequence file of BytesWritable.To run: bin/hadoop jar 413 376 hadoop-${version}-examples.jar randomwriter [-outFormat output format 414 class] output</td> 415 </tr> 416 <tr class="TableRowColor" bgcolor="white"> 417 <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> 418 <td>This is the trivial map/reduce program that does absolutely nothing 377 class] output</td></tr><tr><td><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><td>This is the trivial map/reduce program that does absolutely nothing 419 378 other than use the framework to fragment and sort the input values.To 420 379 run: bin/hadoop jar build/hadoop-examples.jar sort [-m maps] [-r 421 380 reduces] [-inFormat input format class] [-outFormat output format 422 381 class] [-outKey output key class] [-outValue output value class] 423 [-totalOrder pcnt num samples max splits] in-dir out-dir</td> 424 </tr> 425 <tr class="TableRowColor" bgcolor="white"> 426 <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> 427 428 <td>This is an example Hadoop Map/Reduce application.</td> 429 </tr> 430 </tbody></table> 431 </body></html> 382 [-totalOrder pcnt num samples max splits] in-dir out-dir</td></tr><tr><td><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><td>This is an example Hadoop Map/Reduce application.</td></tr></tbody></table> 432 383 }}} 433 384