summaryrefslogtreecommitdiff
path: root/hadoop/wordcount/README
diff options
context:
space:
mode:
Diffstat (limited to 'hadoop/wordcount/README')
-rw-r--r--hadoop/wordcount/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/hadoop/wordcount/README b/hadoop/wordcount/README
new file mode 100644
index 0000000..b13f384
--- /dev/null
+++ b/hadoop/wordcount/README
@@ -0,0 +1,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
+