Re: MongoDB Connector for Hadoop Installation - Conflicting documentation.

From: Luke Lovett <luke.lovett@xxxxxxxxx>
To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Date: Mon, 25 Apr 2016 10:06:49 -0700 (PDT)
Why ads?
You should use the latest uber-jar "mongo-java-driver.jar" in addition to 
the relevant Hadoop jars.

On Saturday, April 23, 2016 at 5:56:30 AM UTC-7, Pradeeban Kathiravelu 
wrote:

Hi All,
I am trying to install the MongoDB connector for Hadoop.

[1] mentions, I need to have MongoDB java driver [2] installed in Hadoop's 
class path, as well as mongo-hadoop-core.jar.
The MongoDB java driver points to mongodb-driver.jar (3.2.2).

However, the FAQ [3] very clearly indicates:
* mongo-hadoop-core.jar and mongo-java-driver.jar are on Hadoop's 
CLASSPATH and Hive/Pig/Spark's CLASSPATH.


You do *not* have other Java driver artifacts on any of your CLASSPATHs. 
For example:

   - mongodb-driver.jar


So this is conflicting. 

Now my question is, which jar should I have in the Hadoop class path in 
addition to the mongo-hadoop-core.jar? 

Is it mongo-java-driver.jar (known as "uber" jar, version 2.14.2), or is 
it mongodb-driver.jar (3.2.2)?


[1] https://docs.mongodb.org/ecosystem/tools/hadoop/
[2] 
http://mongodb.github.io/mongo-java-driver/?_ga=1.148413170.413454862.1459439927
[3] https://github.com/mongodb/mongo-hadoop/wiki/FAQ


Thank you.
Regards,
Pradeeban.


-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/44c64fdf-baea-4fe8-8c25-690fc57669ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Why ads?