发布于 2015-09-14 15:08:19 | 135 次阅读 | 评论: 0 | 来源: 网络整理

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

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 Hadoop Adapter 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 Hadoop Adapter 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

最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务