Changes between Version 2 and Version 3 of Streaming


Ignore:
Timestamp:
Sep 13, 2009, 3:57:00 PM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Streaming

    v2 v3  
    1010 * 最簡單的透過shell執行stream的map reduce:
    1111{{{
    12 $ bin/hadoop jar hadoop-0.18.3-streaming.jar -input input -output stream-output1 -mapper /bin/cat -reducer /usr/bin/wc
     12$ bin/hadoop jar hadoop-0.18.3-streaming.jar -input lab3_input -output stream-out1 -mapper /bin/cat -reducer /usr/bin/wc
    1313}}}
    14    * 輸出的結果為: (代表 行、字數、字元數)
     14   * 輸出的結果為:
     15|| 行 ||字數 ||字元數 ||
    1516{{{
    1617#!sh