Re: Store in MongoDB with a Pig UDF

2014-12-04 Thread Russell Jurney
May I ask why you wrote your own MongoDB UDF when one exists? https://github.com/mongodb/mongo-hadoop/blob/master/pig/README.md ᐧ On Thu, Dec 4, 2014 at 3:58 PM, Suraj Nayak M wrote: > Hi Cesar, > > UDF is good for processing data. For writing data you should write custom > Storer. Also, for wri

Re: Store in MongoDB with a Pig UDF

2014-12-04 Thread Suraj Nayak M
Hi Cesar, UDF is good for processing data. For writing data you should write custom Storer. Also, for writing data into MongoDB there is already Storer written available in GitHub with more rich features. Take a look at : https://github.com/mongodb/mongo-hadoop/tree/master/pig MongoStorage c