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 !
@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
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.