Changes between Version 4 and Version 5 of jazz/Hadoop_Lab2
- Timestamp:
- Mar 24, 2009, 11:43:25 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/Hadoop_Lab2
v4 v5 24 24 === 2.3 更多運算命令 === 25 25 26 可執行的指令一覽表: 27 28 || aggregatewordcount: || An Aggregate based map/reduce program that counts the words in the input files. || 29 30 || aggregatewordhist: || An Aggregate based map/reduce program that computes the histogram of the words in the input files. || 31 32 || grep: || A map/reduce program that counts the matches of a regex in the input. || 33 34 || join: || A job that effects a join over sorted, equally partitioned datasets || 35 36 || multifilewc: || A job that counts words from several files. || 37 38 || pentomino: || A map/reduce tile laying program to find solutions to pentomino problems. || 39 40 || pi: || A map/reduce program that estimates Pi using monte-carlo method. || 41 42 || randomtextwriter: || A map/reduce program that writes 10GB of random textual data per node. || 43 44 || randomwriter: || A map/reduce program that writes 10GB of random data per node. || 45 46 || sleep: || A job that sleeps at each map and reduce task. || 47 48 || sort: || A map/reduce program that sorts the data written by the random writer. || 49 50 || sudoku: || A sudoku solver. || 51 52 || wordcount: || A map/reduce program that counts the words in the input files. || 53 54 55 56 26 57 請參考 [http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/package-summary.html org.apache.hadoop.examples] 27 58 28 59 29 60 30 61 {{{ … … 38 69 <b>Class Summary</b></font></th> 39 70 </tr> 71 40 72 <tr class="TableRowColor" bgcolor="white"> 41 73 <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> 42 74 43 <td>This is an example Aggregated Hadoop Map/Reduce application. </td>75 <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> 44 76 </tr> 45 77 46 78 <tr class="TableRowColor" bgcolor="white"> 47 79 <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> 48 <td>This is an example Aggregated Hadoop Map/Reduce application.</td> 80 <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> 81 </tr> 49 82 50 </tr>51 <tr class="TableRowColor" bgcolor="white">52 <td width="15%"><b><a href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/DBCountPageView.html" title="class in org.apache.hadoop.examples">DBCountPageView</a></b></td>53 <td>This is a demonstrative program, which uses DBInputFormat for reading54 the input data from a database, and DBOutputFormat for writing the data55 to the database.</td>56 </tr>57 83 <tr class="TableRowColor" bgcolor="white"> 58 84 <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>