-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: Spark Connector
-
Labels:None
The documentaion for Spark Connector suggests that a dependency for v2.2.2 should be used for the spark-sql_2.11 and spark-core_2.11 artefacts:
<dependencies> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-core_2.11</artifactId> <version>2.2.2</version> </dependency> <dependency> <groupId>org.mongodb.spark</groupId> <artifactId>mongo-spark-connector_2.11</artifactId> <version>2.2.2</version> </dependency> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-sql_2.11</artifactId> <version>2.2.2</version> </dependency> </dependencies>
That contradicts with the dependencies that are listed for mongo-spark-connector v2.2.2 on Maven Central.
Also if I try to use the dependencies example from the docs in my own project, the spark-sql_2.11 and spark-core_2.11 v2.2.2 packages cannot be found - most likely because these versions simply don't exist: