Skip to content

Instantly share code, notes, and snippets.

@spf13
Created February 22, 2012 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spf13/1887796 to your computer and use it in GitHub Desktop.
Save spf13/1887796 to your computer and use it in GitHub Desktop.
MongoHadoopTwitterStreaming
hadoop jar mongo-hadoop-streaming.jar \
-mapper examples/twitter/twit_map.py \
-reducer examples/twitter/twit_reduce.py \
-inputURI mongodb://127.0.0.1/test.live \
-outputURI mongodb://127.0.0.1/test.twit_reduction \
-file examples/twitter/twit_map.py \
-file examples/twitter/twit_reduce.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment