Last active
August 29, 2015 13:57
-
-
Save natbusa/9645781 to your computer and use it in GitHub Desktop.
word count: hadoop example wordcount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$HADOOP_HOME/bin/hadoop \ | |
jar $HADOOP_HOME/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.3.0.jar \ | |
wordcount wordcount-input wordcount-output | |
$HADOOP_HOME/bin/hadoop fs -cat wordcount-output | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment