|
|
-
Re: Query mongodbMohammad Tariq 2013-01-16, 14:47
MapReduce framework tries its best to run the jobs on the nodes
where data is located. It is its fundamental nature. You don't have to do anything extra. *I am sorry if I misunderstood the question. Warm Regards, Tariq https://mtariq.jux.com/ cloudfront.blogspot.com On Wed, Jan 16, 2013 at 8:10 PM, John Lilley <[EMAIL PROTECTED]>wrote: > How does one schedule mappers to read MongoDB or HBase in a > data-locality-aware fashion?**** > > -john**** > > ** ** > > *From:* Mohammad Tariq [mailto:[EMAIL PROTECTED]] > *Sent:* Wednesday, January 16, 2013 3:29 AM > *To:* [EMAIL PROTECTED] > *Subject:* Re: Query mongodb**** > > ** ** > > Yes. You can use MongoDB-Hadoop adapter to achieve that. Through this > adapter you can pull the data, process it and push it back to your MongoDB > backed datastore by writing MR jobs.**** > > ** ** > > It is also 100% possible to query Hbase or JSON files, or anything else > for that matter, stored in HDFS.**** > > > **** > > Warm Regards,**** > > Tariq**** > > https://mtariq.jux.com/**** > > cloudfront.blogspot.com**** > > ** ** > > On Wed, Jan 16, 2013 at 3:50 PM, Panshul Whisper <[EMAIL PROTECTED]> > wrote:**** > > Hello, > Is it possible or how is it possible to query mongodb directly from hadoop. > **** > > Or is it possible to query hbase or json files stored in hdfs in a similar > way as we can query the json documents in mongodb.**** > > Suggestions please.**** > > Thank you. > Regards, > Panshul.**** > > ** ** > |