MongoDB Connector for Hadoop¶
warningThis documentation is no longer maintained.
MongoDB Connector for Hadoop is no longer supported
If you would like to access MongoDB databases using the Apache Spark libraries, use the MongoDB Connector for Spark.
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.
If you have questions, submit them to our MongoDB Community Forums.
For any issues please file a ticket in Jira.
This guide also includes the following documentation:
- Obtain the Hadoop connector. You may either download the JARs from the Maven Central Repository or build it yourself. The JARs are universal and will work with any version of Hadoop.
- Obtain a JAR for the MongoDB Java Driver.
- Move these JARs onto each node of the Hadoop cluster.
You may provision each node so that the jars are somewhere on Hadoop's
$HADOOP_PREFIX/share/hadoop/common), or you can use the Hadoop DistributedCache to move the JARs onto pre-existing nodes.
For more complete install instructions, please see the installation instructions for your platform on the Hadoop Connector wiki.