Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Selective import/export to/from MongoDB to Hive

Highlighted

Selective import/export to/from MongoDB to Hive

New Contributor

Hello , how to do selective import or export from MongoDB to Hive and vice versa. Lets say I have to just update hive table when new documents added to MongoDB collection or existing collection documents updated in MongoDB. Appreciate your help. Thanks !

2 REPLIES 2
Highlighted

Re: Selective import/export to/from MongoDB to Hive

Expert Contributor

@Anand Umbare There's mongodb connector available for hadoop.

The MongoDB Connector for Hadoop is a plugin for Hadoop that provides the ability to use MongoDB as an input source and/or an output destination.

Please refer : https://docs.mongodb.com/ecosystem/tools/hadoop/

For connecting to Hive : https://github.com/mongodb/mongo-hadoop/wiki/Hive-Usage

Highlighted

Re: Selective import/export to/from MongoDB to Hive

New Contributor

I already glanced through these URLs. I don't think they explains about selective import/export to/from mongodb. any specific example would help.

,

I had glanced through these URLs earlier but I don't think they explain about selective import/export to/from MongoDB.

Don't have an account?
Coming from Hortonworks? Activate your account here