OPTIONS

MongoDB Connector 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.

The source code is available on github where you can find a more comprehensive readme.

If you have questions please email the mongodb-user Mailing List. For any issues please file a ticket in Jira.

This guide also includes the following documentation:

Installation

The MongoDB Connector for Hadoop uses the SBT Build Tool tool for compilation. SBT provides superior support for discrete configurations targeting multiple Hadoop versions. The distribution includes self-bootstrapping copy of SBT in the distribution as sbt. Create a copy of the jar files using the following command:

./sbt package

The MongoDB Connector for Hadoop supports a number of Hadoop releases. You can change the Hadoop version supported by the build by modifying the value of hadoopRelease in the build.sbt file. For instance, set this value to:

hadoopRelease in ThisBuild := "cdh3"

configures a build against Cloudera CDH3u3.

While:

hadoopRelease in ThisBuild := "0.21"

configures a build against Hadoop 0.21 from the mainline Apache distribution.

After building, you will need to place the “core” jar and the mongo-java-driver in the lib directory of each Hadoop server.

For more complete install instructions please see the install instructions in the readme

Presentations