Changes between Initial Version and Version 1 of 0428Streaming


Ignore:
Timestamp:
Apr 26, 2009, 3:09:14 AM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 0428Streaming

    v1 v1  
     1
     2 * Hadoop streaming是Hadoop的一個工具, 它幫助用戶創建和運行一類特殊的map/reduce作業, 這些特殊的map/reduce作業是由一些可執行文件或腳本文件充當mapper或者reducer
     3 * 最簡單的透過shell執行stream的map reduce:
     4{{{
     5$ bin/hadoop jar hadoop-0.18.3-streaming.jar -input input -output stream-output1 -mapper /bin/cat -reducer /usr/bin/wc
     6}}}
     7   * 輸出的結果為: (代表 行、字數、字元數)
     8{{{
     9#!sh
     102910628 24507806 143451003
     11}}}