Skip to content

Instantly share code, notes, and snippets.

@natbusa
Last active August 29, 2015 13:57
Show Gist options
  • Save natbusa/9645781 to your computer and use it in GitHub Desktop.
Save natbusa/9645781 to your computer and use it in GitHub Desktop.
word count: hadoop example wordcount
$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