wiki:Hinet131105/Lab22
close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.

◢ <實作二十一> | <回課程大綱> ▲ | <實作二十二 > ◣

實作二十二 Lab22

透過 MapReduce 的設定檔傳遞參數
Passing Arguments to Mapper and Reducer with Configuration

請先連線至 nodeN.3du.me , N 為您的報名編號
cd ~/hadoop_labs/lab013
ant
hadoop fs -put l13_input l13_input
hadoop jar WordCount.jar l13_input l13_output
hadoop fs -cat l13_output/part-r-00000
hadoop jar WordCount.jar -Dwordcount.case.sensitive=false l13_input l13_output2
hadoop fs -cat l13_output2/part-r-00000

實作習題

<問題 1>

Last modified 11 years ago Last modified on Nov 3, 2013, 3:17:20 PM