There are mongo load and store functions for pig at https://github.com/mongodb/mongo-hadoop/ Is this what you were looking for or were you more asking if pig and mongo play well together?
Alan. On Jul 7, 2012, at 2:56 PM, Russell Jurney wrote: > I want Pig for MongoDB, for acting on smaller datasets in realtime. Is that > crazy? Given that the MR code is just JSON, isn't this easier than creating > Hadoop MapReduce? > > Crazy idea, I'm just curious if this might not be too hard owing to the > json interface to Mongo MapReduce. > > -- > Russell Jurney twitter.com/rjurney russell.jur...@gmail.com datasyndrome.com