mongodb/mongo-hadoop — pull request #39 by mlew (2012-03-27 23:30:03+00:00)
Title: Feature/multiple inputs

Up to date code to allow you to run a hadoop job against multiple collections. Running a job requires that you provide multiple inputURIs.

For example, if you want to run a streaming job, you can invoke hadoop like:

$HADOOP_COMMON_HOME/bin/hadoop jar target/mongo-hadoop-streaming-assembly-1.0.0-rc1-SNAPSHOT.jar -mapper pymapper.py -reducer pyreducer.py -inputURI mongodb://127.0.0.1/test.users -inputURI mongodb://127.0.0.1/test.documents -outputURI mongodb://127.0.0.1/test.mr_user_document_join -file pymapper.py -file pyreducer.py