Changes between Version 2 and Version 3 of NCHCCloudCourse100928_4_EXM6


Ignore:
Timestamp:
Sep 28, 2010, 10:05:54 AM (14 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NCHCCloudCourse100928_4_EXM6

    v2 v3  
    5151import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
    5252import org.apache.hadoop.util.GenericOptionsParser;
    53 
    54 //      WordIndex
    55 //      說明:
    56 //              將每個字出於哪個檔案,那一行印出來
    57 //
    58 //      測試方法:
    59 //              將此程式運作在hadoop 0.20 平台上,執行:
    60 //              ---------------------------
    61 //              hadoop jar WordIndex.jar <input> <output>
    62 //              ---------------------------
    63 //
    64 //      注意:
    65 //1.    在hdfs 上來源檔案的路徑為 你所指定的 <input>
    66 //請注意必須先放資料到此hdfs上的資料夾內,且此資料夾內只能放檔案,不可再放資料夾
    67 //2.    運算完後,程式將執行結果放在hdfs 的輸出路徑為 你所指定的 <output>
    6853
    6954public class WordIndex {