Skip to content

Commit

Permalink
Merge pull request #410 from Acxiom/spark_3.3.2_migration
Browse files Browse the repository at this point in the history
Update GCP drivers to ensure Metalus works properly with GCP Storage
  • Loading branch information
jwszolek committed May 16, 2024
2 parents 418e8d7 + 9004011 commit d16503a
Show file tree
Hide file tree
Showing 12 changed files with 152 additions and 148 deletions.
2 changes: 1 addition & 1 deletion metalus-application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.acxiom</groupId>
<artifactId>metalus</artifactId>
<version>1.9.7-SNAPSHOT</version>
<version>1.9.8-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion metalus-aws/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.acxiom</groupId>
<artifactId>metalus</artifactId>
<version>1.9.7-SNAPSHOT</version>
<version>1.9.8-SNAPSHOT</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion metalus-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.acxiom</groupId>
<artifactId>metalus</artifactId>
<version>1.9.7-SNAPSHOT</version>
<version>1.9.8-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion metalus-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.acxiom</groupId>
<artifactId>metalus</artifactId>
<version>1.9.7-SNAPSHOT</version>
<version>1.9.8-SNAPSHOT</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion metalus-delta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>com.acxiom</groupId>
<artifactId>metalus</artifactId>
<version>1.9.7-SNAPSHOT</version>
<version>1.9.8-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion metalus-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.acxiom</groupId>
<artifactId>metalus</artifactId>
<version>1.9.7-SNAPSHOT</version>
<version>1.9.8-SNAPSHOT</version>
</parent>

<properties>
Expand Down
48 changes: 26 additions & 22 deletions metalus-gcp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
<parent>
<groupId>com.acxiom</groupId>
<artifactId>metalus</artifactId>
<version>1.9.7-SNAPSHOT</version>
<version>1.9.8-SNAPSHOT</version>
</parent>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>5.7.0</version>
<version>26.37.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -45,11 +45,11 @@
<scope>provided</scope>
</dependency>
<!-- Google Libraries -->
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty-shaded</artifactId>
<version>1.39.0</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>io.grpc</groupId>-->
<!-- <artifactId>grpc-netty-shaded</artifactId>-->
<!-- <version>1.39.0</version>-->
<!-- </dependency>-->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
Expand All @@ -66,11 +66,11 @@
<artifactId>google-cloud-datastore</artifactId>
<version>1.107.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-core</artifactId>
<version>1.39.0</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>io.grpc</groupId>-->
<!-- <artifactId>grpc-core</artifactId>-->
<!-- <version>1.39.0</version>-->
<!-- </dependency>-->
<dependency>
<groupId>io.opencensus</groupId>
<artifactId>opencensus-api</artifactId>
Expand All @@ -85,28 +85,28 @@
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsub</artifactId>
<version>1.128.0</version>
<exclusions>
<exclusion>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty-shaded</artifactId>
</exclusion>
</exclusions>
<!-- <exclusions>-->
<!-- <exclusion>-->
<!-- <groupId>io.grpc</groupId>-->
<!-- <artifactId>grpc-netty-shaded</artifactId>-->
<!-- </exclusion>-->
<!-- </exclusions>-->
</dependency>
<dependency>
<groupId>com.google.cloud.bigdataoss</groupId>
<artifactId>gcs-connector</artifactId>
<version>hadoop3-2.2.21</version>
<version>hadoop2-2.2.21</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-storage</artifactId>
<version>1.118.1</version>
<version>2.37.0</version>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-secretmanager</artifactId>
<version>2.40.0</version>
<version>1.1.0</version>
<exclusions>
<exclusion>
<groupId>io.grpc</groupId>
Expand All @@ -117,7 +117,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-nio</artifactId>
<version>0.127.8</version>
<version>0.121.0</version>
</dependency>
</dependencies>

Expand Down Expand Up @@ -162,6 +162,9 @@
</excludes>
</filter>
</filters>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
</transformers>
</configuration>
<executions>
<execution>
Expand All @@ -178,6 +181,7 @@
<exclude>com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem</exclude>
<exclude>com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS</exclude>
<exclude>com.google.cloud.spark.bigquery.DefaultSource</exclude>
<exclude>io.grpc.CallOptions.getOnReadyThreshold</exclude>
</excludes>
</relocation>
</relocations>
Expand Down
Loading

0 comments on commit d16503a

Please sign in to comment.