Hadoop mongodb connector


How to connect hadoop to mongodb with maven project?

Please check this link.It may help

Hi @Abdourahime_Diallo, and welcome to the forum,

Depending on your use case, I’d recommend to try MongoDB Connector for Spark. You can read hdfs from Spark, and the connector you have access to all Spark libraries for use with MongoDB datasets.

See also MongoDB Spark Connector Java Guide.


1 Like