Changes between Version 4 and Version 5 of NTUOSS160412/HW1


Ignore:
Timestamp:
Apr 11, 2016, 5:51:52 PM (8 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NTUOSS160412/HW1

    v4 v5  
    11= 作業一 =
    22
    3  * 題目:請參考 hadoop_labs/lab013 改成逆向索引(Reverse Index)。使 !ReverseIndex 執行之結果為「"關鍵字"\t"檔案名稱(用逗點隔開)"」型態。
    4  * 參考: 以[wiki: 連結之執行方法],忽略句點(\.)與逗點(\,),並且忽略大小寫(case.sensitive=false),
     3 * 題目:請參考 hadoop_labs/lab010 改成逆向索引(Reverse Index)。使 !ReverseIndex 執行之結果為「"關鍵字"\t"檔案名稱(用逗點隔開)"」型態。
    54 * 參考步驟:[[BR]]Here is the reference steps:
    65{{{
     
    98~$ echo "I like ntu Course, and we enjoy this course." > hw1_input/input2
    109~$ hadoop fs -put hw1_input hw1_input
    11 ~$ echo "\." > pattern.txt && echo "\," >> pattern.txt
    12 ~$ hadoop fs -put pattern.txt .
    13 ~$ hadoop jar WordCount -Dwordcount.case.sensitive=false hw1_input hw1_out -skip pattern.txt
     10~$ hadoop jar WordCount hw1_input hw1_out
    1411~$ hadoop fs -cat hw1_out/part-00000
    1512}}}