Changes between Version 3 and Version 4 of NTUOSS160412/HW1


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

--

Legend:

Unmodified
Added
Removed
Modified
  • NTUOSS160412/HW1

    v3 v4  
    55 * 參考步驟:[[BR]]Here is the reference steps:
    66{{{
    7 #!sh
    8 $ mkdir hw1_input
    9 $ echo "I like NCU Course." > hw1_input/input1
    10 $ echo "I like ncu Course, and we enjoy this course." > hw1_input/input2
    11 $ hadoop fs -put hw1_input hw1_input
    12 $ echo "\." >pattern.txt && echo "\," >> pattern.txt
    13 $ hadoop fs -put pattern.txt .
    14 $ hadoop jar WordCount -Dwordcount.case.sensitive=false hw1_input hw1_out -skip pattern.txt
    15 $ hadoop fs -cat hw1_out/part-00000
     7~$ mkdir hw1_input
     8~$ echo "I like NTU Course." > hw1_input/input1
     9~$ echo "I like ntu Course, and we enjoy this course." > hw1_input/input2
     10~$ 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
     14~$ hadoop fs -cat hw1_out/part-00000
    1615}}}
    1716 * 參考結果應該為:(路徑不限)[[BR]]The reference result should be as following:(no limitation for the format of "path")
    1817{{{
    1918and     input2
    20 cloud   input1,input2
    2119course  input1,input2,input2
    2220enjoy   input2