Skip to content

Commit b228bab

Browse files
authored
Merge branch-25.04 into main [skip ci] (#12484)
Change version to 25.04.0 Note: merge this PR with **Create a merge commit to merge**
2 parents 3d72579 + 005e450 commit b228bab

File tree

478 files changed

+9634
-4635
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

478 files changed

+9634
-4635
lines changed

.github/workflows/blossom-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ jobs:
7676
github.actor == 'SurajAralihalli' ||
7777
github.actor == 'jihoonson' ||
7878
github.actor == 'ustcfy' ||
79-
github.actor == 'knoguchi22'
79+
github.actor == 'knoguchi22' ||
80+
github.actor == 'warrickhe'
8081
)
8182
steps:
8283
- name: Check if comment is issued by authorized person

.github/workflows/mvn-verify-check.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2022-2024, NVIDIA CORPORATION.
1+
# Copyright (c) 2022-2025, NVIDIA CORPORATION.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -54,7 +54,9 @@ jobs:
5454
run: |
5555
set -x
5656
depsSHA1=$(. .github/workflows/mvn-verify-check/get-deps-sha1.sh 2.12)
57-
cacheKey="${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ github.event.pull_request.base.ref }}-${depsSHA1}"
57+
hashfile=$(echo ${{ hashFiles('**/pom.xml') }})
58+
md5sum=$(echo -n "$depsSHA1-$hashfile" | md5sum | awk '{print $1}')
59+
cacheKey="${{ runner.os }}-maven-${{ github.event.pull_request.base.ref }}-${md5sum}"
5860
echo "dailyCacheKey=$cacheKey" | tee $GITHUB_ENV $GITHUB_OUTPUT
5961
- name: Cache local Maven repository
6062
id: cache
@@ -171,7 +173,9 @@ jobs:
171173
run: |
172174
set -x
173175
depsSHA1=$(. .github/workflows/mvn-verify-check/get-deps-sha1.sh 2.13)
174-
cacheKey="${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ github.event.pull_request.base.ref }}-${depsSHA1}"
176+
hashfile=$(echo ${{ hashFiles('**/pom.xml') }})
177+
md5sum=$(echo -n "$depsSHA1-$hashfile" | md5sum | awk '{print $1}')
178+
cacheKey="${{ runner.os }}-maven-${{ github.event.pull_request.base.ref }}-${md5sum}"
175179
echo "scala213dailyCacheKey=$cacheKey" | tee $GITHUB_ENV $GITHUB_OUTPUT
176180
- name: Cache local Maven repository
177181
id: cache

.github/workflows/mvn-verify-check/get-deps-sha1.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,4 @@ else
5050
hybrid_sha1=$hybrid_ver
5151
fi
5252

53-
sha1md5=$(echo -n "${jni_sha1}_${private_sha1}_${hybrid_sha1}" | md5sum | awk '{print $1}')
54-
55-
echo $sha1md5
53+
echo -n "${jni_sha1}_${private_sha1}_${hybrid_sha1}"

CHANGELOG.md

Lines changed: 195 additions & 185 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ mvn -pl dist -PnoSnapshots package -DskipTests
127127
Verify that shim-specific classes are hidden from a conventional classloader.
128128

129129
```bash
130-
$ javap -cp dist/target/rapids-4-spark_2.12-25.02.1-cuda11.jar com.nvidia.spark.rapids.shims.SparkShimImpl
130+
$ javap -cp dist/target/rapids-4-spark_2.12-25.04.0-cuda11.jar com.nvidia.spark.rapids.shims.SparkShimImpl
131131
Error: class not found: com.nvidia.spark.rapids.shims.SparkShimImpl
132132
```
133133

134134
However, its bytecode can be loaded if prefixed with `spark3XY` not contained in the package name
135135

136136
```bash
137-
$ javap -cp dist/target/rapids-4-spark_2.12-25.02.1-cuda11.jar spark320.com.nvidia.spark.rapids.shims.SparkShimImpl | head -2
138-
Warning: File dist/target/rapids-4-spark_2.12-25.02.1-cuda11.jar(/spark320/com/nvidia/spark/rapids/shims/SparkShimImpl.class) does not contain class spark320.com.nvidia.spark.rapids.shims.SparkShimImpl
137+
$ javap -cp dist/target/rapids-4-spark_2.12-25.04.0-cuda11.jar spark320.com.nvidia.spark.rapids.shims.SparkShimImpl | head -2
138+
Warning: File dist/target/rapids-4-spark_2.12-25.04.0-cuda11.jar(/spark320/com/nvidia/spark/rapids/shims/SparkShimImpl.class) does not contain class spark320.com.nvidia.spark.rapids.shims.SparkShimImpl
139139
Compiled from "SparkShims.scala"
140140
public final class com.nvidia.spark.rapids.shims.SparkShimImpl {
141141
```
@@ -178,7 +178,7 @@ mvn package -pl dist -am -Dbuildver=340 -DallowConventionalDistJar=true
178178
Verify `com.nvidia.spark.rapids.shims.SparkShimImpl` is conventionally loadable:
179179
180180
```bash
181-
$ javap -cp dist/target/rapids-4-spark_2.12-25.02.1-cuda11.jar com.nvidia.spark.rapids.shims.SparkShimImpl | head -2
181+
$ javap -cp dist/target/rapids-4-spark_2.12-25.04.0-cuda11.jar com.nvidia.spark.rapids.shims.SparkShimImpl | head -2
182182
Compiled from "SparkShims.scala"
183183
public final class com.nvidia.spark.rapids.shims.SparkShimImpl {
184184
```

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ as a `provided` dependency.
7373
<dependency>
7474
<groupId>com.nvidia</groupId>
7575
<artifactId>rapids-4-spark_2.12</artifactId>
76-
<version>25.02.1</version>
76+
<version>25.04.0</version>
7777
<scope>provided</scope>
7878
</dependency>
7979
```

aggregator/pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
<parent>
2323
<groupId>com.nvidia</groupId>
2424
<artifactId>rapids-4-spark-jdk-profiles_2.12</artifactId>
25-
<version>25.02.1</version>
25+
<version>25.04.0</version>
2626
<relativePath>../jdk-profiles/pom.xml</relativePath>
2727
</parent>
2828
<artifactId>rapids-4-spark-aggregator_2.12</artifactId>
2929
<name>RAPIDS Accelerator for Apache Spark Aggregator</name>
3030
<description>Creates an aggregated shaded package of the RAPIDS plugin for Apache Spark</description>
31-
<version>25.02.1</version>
31+
<version>25.04.0</version>
3232

3333
<properties>
3434
<rapids.module>aggregator</rapids.module>
@@ -93,6 +93,12 @@
9393
<version>${project.version}</version>
9494
<classifier>${spark.version.classifier}</classifier>
9595
</dependency>
96+
<dependency>
97+
<groupId>com.nvidia</groupId>
98+
<artifactId>${rapids.iceberg.artifactId}_${scala.binary.version}</artifactId>
99+
<version>${project.version}</version>
100+
<classifier>${spark.version.classifier}</classifier>
101+
</dependency>
96102
</dependencies>
97103
<build>
98104
<plugins>

api_validation/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
<parent>
2323
<groupId>com.nvidia</groupId>
2424
<artifactId>rapids-4-spark-shim-deps-parent_2.12</artifactId>
25-
<version>25.02.1</version>
25+
<version>25.04.0</version>
2626
<relativePath>../shim-deps/pom.xml</relativePath>
2727
</parent>
2828
<artifactId>rapids-4-spark-api-validation_2.12</artifactId>
29-
<version>25.02.1</version>
29+
<version>25.04.0</version>
3030

3131
<properties>
3232
<rapids.module>api_validation</rapids.module>

build/get_buildvers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ def _get_buildvers(buildvers, pom_file, logger=None):
2929

3030
for release in releases:
3131
spark_version = pom.find(".//pom:spark{}.version".format(release), ns)
32-
if spark_version is None:
33-
continue
3432
if spark_version.text.endswith("SNAPSHOT"):
3533
snapshots.append(release)
3634
else:

datagen/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ Where `$SPARK_VERSION` is a compressed version number, like 330 for Spark 3.3.0.
2424

2525
After this the jar should be at
2626
`target/datagen_2.12-$PLUGIN_VERSION-spark$SPARK_VERSION.jar`
27-
for example a Spark 3.3.0 jar for the 25.02.1 release would be
28-
`target/datagen_2.12-25.02.1-spark330.jar`
27+
for example a Spark 3.3.0 jar for the 25.04.0 release would be
28+
`target/datagen_2.12-25.04.0-spark330.jar`
2929

3030
To get a spark shell with this you can run
3131
```shell
32-
spark-shell --jars target/datagen_2.12-25.02.1-spark330.jar
32+
spark-shell --jars target/datagen_2.12-25.04.0-spark330.jar
3333
```
3434

3535
After that you should be good to go.

0 commit comments

Comments
 (0)