Changes between Version 10 and Version 11 of jazz/Hadoop_Lab2


Ignore:
Timestamp:
Mar 24, 2009, 12:04:50 PM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/Hadoop_Lab2

    v10 v11  
    4343 請參考 [http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/package-summary.html org.apache.hadoop.examples]
    4444 
     45{{{
     46#!html
     47<p>
     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
     62application. It reads the text input files, breaks each line into words
     63and counts them. The output is a locally sorted list of words and the
     64count of how often they occurred. To run: bin/hadoop jar
     65hadoop-*-examples.jar aggregatewordcount in-dir out-dir numOfReducers
     66textinputformat </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
     73application. Computes the histogram of the words in the input texts. To
     74run: bin/hadoop jar hadoop-*-examples.jar aggregatewordhist in-dir
     75out-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
     82and 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>&nbsp;</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
     95absolutely nothing other than use the framework to fragment and sort
     96the input values. To run: bin/hadoop jar build/hadoop-examples.jar join
     97[-m maps] [-r reduces] [-inFormat input format class] [-outFormat
     98output format class] [-outKey output key class] [-outValue output value
     99class] [-joinOp <inner |outer|override="">] [in-dir]*
     100in-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
     107job where there is
     108no interaction between the tasks and each task writes a large unsorted
     109random sequence of words.To run: bin/hadoop jar
     110hadoop-${version}-examples.jar randomtextwriter [-outFormat output
     111format class] output</td>
     112    </tr>
     113    <tr class="TableRowColor" bgcolor="white">
     114      <td width="15%"><b><a
     115 href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/RandomWriter.html"
     116 title="class in org.apache.hadoop.examples">RandomWriter</a></b></td>
     117      <td>This program uses map/reduce to just run a distributed
     118job where there is
     119no interaction between the tasks and each task write a large unsorted
     120random binary sequence file of BytesWritable.To run: bin/hadoop jar
     121hadoop-${version}-examples.jar randomwriter [-outFormat output format
     122class] output</td>
     123    </tr>
     124    <tr class="TableRowColor" bgcolor="white">
     125      <td width="15%"><b><a
     126 href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/Sort.html"
     127 title="class in org.apache.hadoop.examples">Sort&lt;K,V&gt;</a></b></td>
     128      <td>This is the trivial map/reduce program that does
     129absolutely nothing
     130other than use the framework to fragment and sort the input values.To
     131run: bin/hadoop jar build/hadoop-examples.jar sort [-m maps] [-r
     132reduces] [-inFormat input format class] [-outFormat output format
     133class] [-outKey output key class] [-outValue output value class]
     134[-totalOrder pcnt num samples max splits] in-dir out-dir</td>
     135    </tr>
     136    <tr class="TableRowColor" bgcolor="white">
     137      <td width="15%"><b><a
     138 href="http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/examples/WordCount.html"
     139 title="class in org.apache.hadoop.examples">WordCount</a></b></td>
     140      <td>This is an example Hadoop Map/Reduce application.</td>
     141    </tr>
     142  </tbody>
     143</table>
    45144
     145}}}
    46146 
    47147 == Content 3. 使用網頁Gui瀏覽訊息 ==