summaryrefslogtreecommitdiff
path: root/hadoop/wordcount/README
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-14 16:46:27 +0200
committerPatrick Simianer <p@simianer.de>2014-06-14 16:46:27 +0200
commit26c490f404731d053a6205719b6246502c07b449 (patch)
tree3aa721098f1251dfbf2249ecd2736434c13b1d48 /hadoop/wordcount/README
init
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
+