Skip to content

Instantly share code, notes, and snippets.

@chiangbing
Created July 4, 2012 02:54
Show Gist options
  • Save chiangbing/3044973 to your computer and use it in GitHub Desktop.
Save chiangbing/3044973 to your computer and use it in GitHub Desktop.
basic streaming command
hadoop jar $HADOOP_HOME/contrib/streaming/hadoop-streaming*.jar \
-input /path/to/input/data/dir \
-ouput /path/to/output/result/dir \
-mapper mapcmd \
-reducer reducecmd \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment