Skip to content

Commit

Permalink
[Fix Bug]Fix spark mongo etl task execution failed (#4638)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengJie1053 authored Jun 17, 2023
1 parent 0bdb5c3 commit 8ab0bd5
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
32 changes: 32 additions & 0 deletions linkis-engineconn-plugins/spark/scala-2.12/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,38 @@
<groupId>org.mongodb.spark</groupId>
<artifactId>mongo-spark-connector_${scala.binary.version}</artifactId>
<version>3.0.1</version>
<exclusions>
<exclusion>
<groupId>org.mongodb</groupId>
<artifactId>bson</artifactId>
</exclusion>
<exclusion>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-sync</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-sync</artifactId>
<version>${mongodb.driver.version}</version>
</dependency>

<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-core</artifactId>
<version>${mongodb.driver.version}</version>
</dependency>

<dependency>
<groupId>org.mongodb</groupId>
<artifactId>bson</artifactId>
<version>${mongodb.driver.version}</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>3.12.8</version>
<version>${mongodb.driver.version}</version>
</dependency>

</dependencies>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
<mysql.connector.scope>test</mysql.connector.scope>
<postgresql.connector.version>42.2.20</postgresql.connector.version>
<druid.version>1.2.16</druid.version>
<mongodb.driver.version>3.12.8</mongodb.driver.version>

<!-- utils -->
<guava.version>30.0-jre</guava.version>
Expand Down

0 comments on commit 8ab0bd5

Please sign in to comment.