Changes between Version 2 and Version 3 of NTUOSS160412/HW1
- Timestamp:
- Apr 11, 2016, 5:46:44 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NTUOSS160412/HW1
v2 v3 6 6 {{{ 7 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 . 8 14 $ hadoop jar WordCount -Dwordcount.case.sensitive=false hw1_input hw1_out -skip pattern.txt 9 15 $ hadoop fs -cat hw1_out/part-00000