Changes between Version 2 and Version 3 of waue/2009/0922


Ignore:
Timestamp:
Sep 28, 2009, 9:25:07 AM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/0922

    v2 v3  
    4343運行:
    4444{{{
    45 #!perl
    46 
    4745c1="  perl -ne  'if(/.*\t(.*)/){\$sum+=\$1;}END{print \"\$sum\";}'  "
    4846# 注意 這裡 $ 要寫成 \$    " 寫成 \"
    4947
    50 echo $c1; # 打印輸出  perl -ne 'if(/.*"t(.*)/){$sum+=$1;}END{print $sum;}'
     48echo $c1;
     49
    5150hadoop jar hadoop-0.18.3-streaming.jar
    5251   -input file:///data/hadoop/lky/jar/tt