blob: b13f384d02b6fd19a43371d5d996bcd10065d243 (
plain)
1
2
3
4
5
6
|
source http://hadoop.apache.org/common/docs/current/mapred_tutorial.html
javac -classpath /usr/lib/hadoop/hadoop-0.20.2-cdh3u1-core.jar -d wordcount_classes WordCount.java
mkdir wordcount_classes
jar -cvf wordcount.jar -C wordcount_classes/ .
hadoop jar wordcount.jar org.myorg.WordCount in/infile out/outfile
|