MongoDB Spark Connector
[在文件/usr/bin/yum、/usr/libexec/urlgrabber-ext-down最上面的一行改为#!/usr/bin/python2.7]
yum install git
Note: The following instructions are intended for internal use.
Please see the downloading instructions for information on getting and using the MongoDB Spark Connector.
To build the driver:
$ git clone https://github.com/mongodb/mongo-spark.git
$ cd mongo-spark
$ ./sbt check
To publish the signed jars:
$ ./sbt +publish-signed
To publish to spark packages:
$ ./sbt +spPublish
See the sbt-spark-package plugin for more information.