Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge branch-25.02 into main [skip ci] #12128

Merged
merged 124 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
5068921
Init version 25.02.0-SNAPSHOT
nvauto Nov 25, 2024
8675a75
Merge pull request #11757 from NVIDIA/branch-24.12
nvauto Nov 25, 2024
c90361b
Merge pull request #11761 from NVIDIA/branch-24.12
nvauto Nov 25, 2024
7f904a7
Merge pull request #11765 from NVIDIA/branch-24.12
nvauto Nov 25, 2024
ef6cba8
Merge pull request #11767 from NVIDIA/branch-24.12
nvauto Nov 25, 2024
abc3654
remove excluded release shim and TODO (#11756)
YanxuanLiu Nov 26, 2024
b208f9f
Merge pull request #11769 from NVIDIA/branch-24.12
nvauto Nov 26, 2024
d0d4590
Merge pull request #11773 from NVIDIA/branch-24.12
nvauto Nov 26, 2024
3564340
Merge pull request #11774 from NVIDIA/branch-24.12
nvauto Nov 26, 2024
2351dda
Merge pull request #11776 from NVIDIA/branch-24.12
nvauto Nov 26, 2024
9eb8047
Merge pull request #11779 from NVIDIA/branch-24.12
nvauto Nov 26, 2024
7a3f460
Merge pull request #11780 from NVIDIA/branch-24.12
nvauto Nov 26, 2024
63d8165
Merge pull request #11782 from NVIDIA/branch-24.12
nvauto Nov 26, 2024
0bf85cb
Update rapids JNI and private dependency to 25.02.0-SNAPSHOT (#11772)
nvauto Nov 27, 2024
5b77ed7
Update advanced configs introduced by private repo (#11785)
res-life Nov 27, 2024
ca466e7
Remove unnecessary toBeReturned field from serialized batch iterators…
jlowe Nov 27, 2024
4b1a401
Support running CI_PART2 integration tests with JARs built by CI_PART…
NvTimLiu Nov 28, 2024
7f91d37
Merge pull request #11795 from NVIDIA/branch-24.12
nvauto Nov 29, 2024
bd14dbf
Incorporate checksum of internal dependencies in the GH cache key [sk…
YanxuanLiu Dec 2, 2024
568a440
Merge pull request #11806 from NVIDIA/branch-24.12
nvauto Dec 3, 2024
017fdef
Merge pull request #11808 from NVIDIA/branch-24.12
nvauto Dec 3, 2024
7927ae9
enable license header check & add header to files (#11786)
YanxuanLiu Dec 5, 2024
2913128
Add the 'test_type' parameter for Databricks script (#11819)
NvTimLiu Dec 5, 2024
234f4db
Support some escape chars when rewriting regexp_replace to stringRepl…
thirtiseven Dec 5, 2024
f3ac8be
Fix the task count check in TrafficController (#11783)
jihoonson Dec 5, 2024
30c4ddb
Add support for kudo write metrics (#11784)
liurenjie1024 Dec 6, 2024
89984d0
Balance the pre-merge CI job's time for the ci_1 and ci_2 tests (#11826)
NvTimLiu Dec 6, 2024
d9bc056
Deal with spark changes fro colum<->expression conversions (#11827)
revans2 Dec 6, 2024
8ae6a68
Merge pull request #11836 from NVIDIA/branch-24.12
nvauto Dec 7, 2024
0fe162d
Some minor improvements identified during benchmark (#11829)
liurenjie1024 Dec 7, 2024
cb2668f
Merge pull request #11837 from NVIDIA/branch-24.12
nvauto Dec 8, 2024
d1466b7
Optimize Databricks Jenkins scripts [skip ci] (#11817)
NvTimLiu Dec 9, 2024
0dbef90
Fix bug: populate cache deps [skip ci] (#11811)
YanxuanLiu Dec 9, 2024
d3b31b6
Merge pull request #11843 from NVIDIA/branch-24.12
nvauto Dec 9, 2024
4fbecbc
Merge pull request #11846 from NVIDIA/branch-24.12
nvauto Dec 10, 2024
2999a14
Some small refactors to improve the stability. (#11847)
firestarman Dec 11, 2024
4515406
Support running Databricks CI_PART2 integration tests with JARs built…
NvTimLiu Dec 11, 2024
e22a7ca
Merge pull request #11858 from NVIDIA/branch-24.12
nvauto Dec 11, 2024
b471bd7
Enable tests (#11805)
ttnghia Dec 11, 2024
38d66b0
Document Hive text write serialization format checks (#11856)
mythrocks Dec 11, 2024
c0fe534
add a few more stage level metrics (#11821)
binmahone Dec 13, 2024
f9dc579
Merge pull request #11869 from NVIDIA/branch-24.12
nvauto Dec 13, 2024
edb7a67
Generate the CHANGELOG based on the PR's target branch [skip ci] (#11…
NvTimLiu Dec 13, 2024
561068c
Workaround: Exclude cudf_log.txt in RAT check (#11870)
pxLi Dec 13, 2024
e3798d2
Spill framework refactor for better performance and extensibility [da…
abellina Dec 13, 2024
0764c18
Add integration test for async writer (#11855)
jihoonson Dec 14, 2024
ab3111a
Add `HiveHash` support for nested types (#11660)
ustcfy Dec 14, 2024
33d97e8
Support `trunc` and `date_trunc` SQL functions (#11833)
ttnghia Dec 14, 2024
522c37e
Merge branch-24.12 into branch-25.02
YanxuanLiu Dec 16, 2024
7e465d8
Merge pull request #11877 from YanxuanLiu/fix-auto-merge-conflict-11873
pxLi Dec 16, 2024
9465328
Fix non-nullable under nullable struct write (#11781)
revans2 Dec 17, 2024
3f26d33
Add support for dumping write data to try and reproduce error cases (…
revans2 Dec 18, 2024
231a9c6
Add metrics GpuPartitioning.CopyToHostTime (#11882)
sperlingxx Dec 19, 2024
f9c5ca6
Use faster multi-contains in `rlike` regex rewrite (#11810)
thirtiseven Dec 19, 2024
62b2396
Fix bug: add timeout for cache deps steps [skip ci] (#11894)
YanxuanLiu Dec 19, 2024
0e5b5cb
Make sure that the chunked packer bounce buffer is realease after the…
abellina Dec 19, 2024
6244613
Support group-limit optimization for `ROW_NUMBER` (#11886)
mythrocks Dec 19, 2024
ea007da
Update operatorsScore,supportedExprs for TruncDate, TruncTimestamp (#…
mythrocks Dec 19, 2024
adb89aa
Xxhash64 supports nested types [databricks] (#11859)
res-life Dec 19, 2024
01f9fd2
Add missing json reader options for JsonScanRetrySuite (#11898)
jihoonson Dec 20, 2024
32aa3e1
Improve the retry support for nondeterministic expressions (#11789)
firestarman Dec 23, 2024
f0c35ff
address some comments for 11792 (#11816)
binmahone Dec 23, 2024
0f702cd
Async write support for ORC (#11865)
jihoonson Dec 24, 2024
2b7a0e2
Eagerly initialize RapidsShuffleManager for SPARK-45762 [databricks] …
gerashegalov Dec 24, 2024
d9b5c53
Fix the build error for spark 400 (#11905)
firestarman Dec 30, 2024
9e2b28a
Fix generated doc for Spark 400 (#11907)
res-life Dec 30, 2024
e215ae4
Update copyright year in NOTICE (#11909)
jlowe Jan 2, 2025
4df6d60
fix bug: enable if_modified_files check for all shims in github actio…
YanxuanLiu Jan 3, 2025
50b14de
Fix issue with CustomerShuffleReaderExec metadata copy (#11917)
liurenjie1024 Jan 7, 2025
7c6cef4
Deploy the sources and Javadoc JARs in the nightly CICD [skip ci] (#1…
NvTimLiu Jan 8, 2025
a62df8c
Update codeowners file to use team (#11938)
pxLi Jan 8, 2025
421b26f
Remove Alluxio support (#11920)
jlowe Jan 8, 2025
66c37e3
[DOC] update release note to add spark 353 support [skip ci] (#11939)
nvliyuan Jan 8, 2025
6d88807
make maxCpuBatchSize in GpuPartitioning configurable (#11929)
binmahone Jan 10, 2025
dfc957c
Add throttle time metrics for async write (#11936)
jihoonson Jan 10, 2025
139dd58
Fix two potential OOM issues in GPU aggregate. (#11908)
firestarman Jan 10, 2025
de91bc0
[auto-merge] branch-24.12 to branch-25.02 [skip ci] [bot] (#11946)
nvauto Jan 10, 2025
c787510
Merge remote-tracking branch 'upstream/branch-24.12' into fix-auto-me…
pxLi Jan 10, 2025
016f09d
Fix auto merge conflict 11948 [skip ci] (#11952)
pxLi Jan 10, 2025
47fc8db
Remove inactive user from github workflow[skip ci] (#11959)
GaryShen2008 Jan 13, 2025
1376300
Add Spark 3.5.4 shim [databricks] (#11955)
nartal1 Jan 13, 2025
60b6806
Update to use vulnerability-scan runner [skip ci] (#11958)
pxLi Jan 14, 2025
c3029d8
Remove jlowe as committer since he retired (#11960)
tgravescs Jan 14, 2025
03b85b1
Avoid concatentating multiple host buffers when reading Parquet (#11911)
jlowe Jan 14, 2025
58abbcb
Introduce hybrid (CPU) scan for Parquet read [databricks] (#11720)
res-life Jan 16, 2025
6705345
Enable Hybrid test cases in premerge/nightly CIs [databricks] (#11906)
res-life Jan 17, 2025
1ba64a8
Update MockTaskContext to support new functions added in Spark-4.0 [d…
nartal1 Jan 17, 2025
8ace562
Support `raise_error()` on [databricks] 14.3, Spark 4. (#11969)
mythrocks Jan 17, 2025
cd36fa9
Minor change: Make Hybrid version a separate config like priviate rep…
res-life Jan 20, 2025
0f57212
Try to fix Scala 2.13 nightly failure: can not find version-def.sh (#…
res-life Jan 20, 2025
ba20045
Use common add-to-project action [skip ci] (#11982)
pxLi Jan 21, 2025
b92366d
Add support for `org.apache.spark.sql.catalyst.expressions.Bin` (#11967)
ustcfy Jan 21, 2025
c3e4b66
Protect the batch read by a retry block in agg (#11981)
firestarman Jan 21, 2025
caa7568
Enable tests in RapidsParquetSchemaPruningSuite (#11956)
nartal1 Jan 21, 2025
f6274b6
Change order of initialization so pinned pool is available for spill …
abellina Jan 21, 2025
f9613ab
Include the size information when printing a SCB (#11984)
firestarman Jan 22, 2025
3d41bae
Ensure Java Compatibility Check for Regex Patterns (#11912)
SurajAralihalli Jan 22, 2025
26a786d
Use bounce buffer pools in the Spill Framework (#11977)
zpuller Jan 22, 2025
c82a2ea
Configure 14.3 support at runtime [databricks] (#11997)
gerashegalov Jan 23, 2025
2fe7c6c
Perform handle spill IO outside of locked section in SpillFramework (…
zpuller Jan 25, 2025
0aaeed9
Grab the GPU Semaphore when reading cached batch data with the GPU (#…
revans2 Jan 27, 2025
f30d9c8
Removed the assumption if a plan is Columnar it probably is on the GP…
razajafri Jan 28, 2025
1891561
HybridParquetScan: Refine filter push down to avoid double evaluation…
thirtiseven Jan 30, 2025
11316af
Fixed `FileSourceScanExec` and `BatchScanExec` inadvertently falling …
razajafri Jan 31, 2025
a42d71b
Set CI=true for complete failure reason in summary (#12044)
gerashegalov Jan 31, 2025
73765bd
Explicitly set Delta table props to accommodate for different default…
gerashegalov Jan 31, 2025
4c673a8
Update the version of the rapids-hybrid-execution dependency. (#12054)
NvTimLiu Feb 4, 2025
7f63cb1
Relax decimal metadata checks for mismatched precision/scale [databri…
nartal1 Feb 5, 2025
602b16a
Run mvn with the project's pom.xml in hybrid_execution.sh (#12064)
NvTimLiu Feb 6, 2025
c35cac8
Do not build Spark-4.0.0-SNAPSHOT [skip ci] (#12068)
nartal1 Feb 6, 2025
b8b180a
Quick fix for hybrid tests without git information. (#12080)
NvTimLiu Feb 7, 2025
0e7096f
Fix the issue of ExtraPlugins loading multiple times (#12077)
sperlingxx Feb 8, 2025
5d8ab9d
upgrade jucx to 1.18 (#12058)
zpuller Feb 11, 2025
2cc2992
Revert "Enable event log for qualification & profiling tools testing …
gerashegalov Feb 11, 2025
fb5155a
revert ucx 1.18 upgrade (#12109)
zpuller Feb 12, 2025
cb1daeb
Fix HybridParquetScan over select(1) (#12114)
sperlingxx Feb 13, 2025
3c929c0
Fix an assertion error in the sized hash join (#12092)
firestarman Feb 13, 2025
d3ad1af
Merge branch-25.02 into main
nvauto Feb 13, 2025
04c20c9
Change version to 25.02.0
nvauto Feb 13, 2025
c696b7e
HybridParquetScan: Fix velox runtime error in hybrid scan when filter…
thirtiseven Feb 13, 2025
44a5028
[DOC] update the download page for 2502 release [skip ci] (#12102)
nvliyuan Feb 17, 2025
4356842
Update dependency version JNI, private, hybrid to 25.02.0 [skip ci] (…
nvauto Feb 17, 2025
54e13e5
Update latest changelog [skip ci] (#12154)
nvauto Feb 17, 2025
d1c38db
Merge branch-25.02 into merge-branch-25.02-to-main
nvauto Feb 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 8 additions & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2024, NVIDIA CORPORATION.
# Copyright (c) 2020-2025, NVIDIA CORPORATION.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand All @@ -9,8 +9,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.


/jenkins/ @jlowe @revans2 @tgravescs @GaryShen2008 @NvTimLiu @gerashegalov
pom.xml @jlowe @revans2 @tgravescs @GaryShen2008 @NvTimLiu @gerashegalov
/dist/ @jlowe @revans2 @tgravescs @GaryShen2008 @NvTimLiu @gerashegalov
/.github/ @jlowe @revans2 @tgravescs @GaryShen2008 @NvTimLiu @gerashegalov
# Build-related
/jenkins/ @NVIDIA/sparkrapids-cicd-codeowners
pom.xml @NVIDIA/sparkrapids-cicd-codeowners
/dist/ @NVIDIA/sparkrapids-cicd-codeowners
/.github/ @NVIDIA/sparkrapids-cicd-codeowners
/build/ @NVIDIA/sparkrapids-cicd-codeowners
/scripts/ @NVIDIA/sparkrapids-cicd-codeowners
14 changes: 6 additions & 8 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022-2024, NVIDIA CORPORATION.
# Copyright (c) 2022-2025, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -23,13 +23,11 @@ on:
- opened

jobs:
add-to-project:
if: github.repository == 'NVIDIA/spark-rapids'
name: Add new issues and pull requests to project
Add-to-project:
if: github.repository_owner == 'NVIDIA' # avoid adding issues from forks
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: add-to-project
uses: NVIDIA/spark-rapids-common/add-to-project@main
with:
project-url: https://github.com/orgs/NVIDIA/projects/4
github-token: ${{ secrets.PROJECT_TOKEN }}

token: ${{ secrets.PROJECT_TOKEN }}
6 changes: 2 additions & 4 deletions .github/workflows/blossom-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2024, NVIDIA CORPORATION.
# Copyright (c) 2020-2025, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -40,7 +40,6 @@ jobs:
github.actor == 'anfeng' ||
github.actor == 'firestarman' ||
github.actor == 'GaryShen2008' ||
github.actor == 'jlowe' ||
github.actor == 'kuhushukla' ||
github.actor == 'mythrocks' ||
github.actor == 'nartal1' ||
Expand Down Expand Up @@ -74,7 +73,6 @@ jobs:
github.actor == 'binmahone' ||
github.actor == 'zpuller' ||
github.actor == 'pxLi' ||
github.actor == 'Feng-Jiang28' ||
github.actor == 'SurajAralihalli' ||
github.actor == 'jihoonson' ||
github.actor == 'ustcfy' ||
Expand All @@ -91,7 +89,7 @@ jobs:
Vulnerability-scan:
name: Vulnerability scan
needs: [Authorization]
runs-on: ubuntu-latest
runs-on: vulnerability-scan
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
58 changes: 58 additions & 0 deletions .github/workflows/license-header-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Copyright (c) 2024, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# A workflow to check copyright/license header
name: license header check

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
license-header-check:
runs-on: ubuntu-latest
if: "!contains(github.event.pull_request.title, '[bot]')"
steps:
- name: Get checkout depth
run: |
echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 10 ))" >> $GITHUB_ENV

- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: ${{ env.PR_FETCH_DEPTH }}

- name: license-header-check
uses: NVIDIA/spark-rapids-common/license-header-check@main
with:
included_file_patterns: |
*.yml,
*.yaml,
*.sh,
*.xml,
*.properties,
*.scala,
*.py,
build/*,
*.cpp,
*Dockerfile*,
*Jenkinsfile*,
*.ini,
*.java,
*.fbs
excluded_file_patterns: |
*target/*,
thirdparty/*,
sql-plugin/src/main/java/com/nvidia/spark/rapids/format/*

17 changes: 15 additions & 2 deletions .github/workflows/mvn-verify-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,20 @@ jobs:
id: generateCacheKey
run: |
set -x
cacheKey="${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ github.event.pull_request.base.ref }}-$(date +'%Y-%m-%d')"
depsSHA1=$(. .github/workflows/mvn-verify-check/get-deps-sha1.sh 2.12)
cacheKey="${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ github.event.pull_request.base.ref }}-${depsSHA1}"
echo "dailyCacheKey=$cacheKey" | tee $GITHUB_ENV $GITHUB_OUTPUT
- name: Cache local Maven repository
id: cache
continue-on-error: true
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ env.dailyCacheKey }}
restore-keys: ${{ runner.os }}-maven-
- name: populate-daily-cache
timeout-minutes: 30
continue-on-error: true
if: steps.cache.outputs.cache-hit != 'true'
env:
SCALA_VER: '2.12'
Expand Down Expand Up @@ -117,6 +121,7 @@ jobs:
java-version: 8

- name: Cache local Maven repository
continue-on-error: true
uses: actions/cache@v4
with:
path: ~/.m2
Expand Down Expand Up @@ -165,16 +170,20 @@ jobs:
id: generateCacheKey
run: |
set -x
cacheKey="${{ runner.os }}-maven-scala213-${{ hashFiles('**/pom.xml') }}-${{ github.event.pull_request.base.ref }}-$(date +'%Y-%m-%d')"
depsSHA1=$(. .github/workflows/mvn-verify-check/get-deps-sha1.sh 2.13)
cacheKey="${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ github.event.pull_request.base.ref }}-${depsSHA1}"
echo "scala213dailyCacheKey=$cacheKey" | tee $GITHUB_ENV $GITHUB_OUTPUT
- name: Cache local Maven repository
id: cache
continue-on-error: true
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ env.scala213dailyCacheKey }}
restore-keys: ${{ runner.os }}-maven-
- name: populate-daily-cache
timeout-minutes: 30
continue-on-error: true
if: steps.cache.outputs.cache-hit != 'true'
env:
SCALA_VER: '2.13'
Expand Down Expand Up @@ -221,6 +230,7 @@ jobs:
java-version: 17

- name: Cache local Maven repository
continue-on-error: true
uses: actions/cache@v4
with:
path: ~/.m2
Expand Down Expand Up @@ -276,6 +286,7 @@ jobs:
java-version: 17

- name: Cache local Maven repository
continue-on-error: true
uses: actions/cache@v4
with:
path: ~/.m2
Expand Down Expand Up @@ -330,6 +341,7 @@ jobs:
java-version: ${{ matrix.java-version }}

- name: Cache local Maven repository
continue-on-error: true
uses: actions/cache@v4
with:
path: ~/.m2
Expand Down Expand Up @@ -377,6 +389,7 @@ jobs:
java-version: 11

- name: Cache local Maven repository
continue-on-error: true
uses: actions/cache@v4
with:
path: ~/.m2
Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/mvn-verify-check/get-deps-sha1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/bin/bash

# Copyright (c) 2024-2025, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -e

scala_ver=${1:-"2.12"}
base_URL="https://oss.sonatype.org/service/local/artifact/maven/resolve"
project_jni="spark-rapids-jni"
project_private="rapids-4-spark-private_${scala_ver}"

jni_ver=$(mvn help:evaluate -q -pl dist -Dexpression=spark-rapids-jni.version -DforceStdout)
private_ver=$(mvn help:evaluate -q -pl dist -Dexpression=spark-rapids-private.version -DforceStdout)

if [[ $jni_ver == *SNAPSHOT* ]]; then
jni_sha1=$(curl -s -H "Accept: application/json" \
"${base_URL}?r=snapshots&g=com.nvidia&a=${project_jni}&v=${jni_ver}&c=&e=jar&wt=json" \
| jq .data.sha1) || $(date +'%Y-%m-%d')
else
jni_sha1=$jni_ver
fi

if [[ $private_ver == *SNAPSHOT* ]]; then
private_sha1=$(curl -s -H "Accept: application/json" \
"${base_URL}?r=snapshots&g=com.nvidia&a=${project_private}&v=${private_ver}&c=&e=jar&wt=json" \
| jq .data.sha1) || $(date +'%Y-%m-%d')
else
private_sha1=$private_ver
fi

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

echo $sha1md5
21 changes: 12 additions & 9 deletions .github/workflows/mvn-verify-check/populate-daily-cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,30 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -x
max_retry=3; delay=30; i=1
set -e
set -o pipefail

if [[ $SCALA_VER == '2.12' ]]; then
pom='pom.xml'
elif [[ $SCALA_VER == '2.13' ]]; then
pom='scala2.13/pom.xml'
fi

max_retry=3; delay=30; i=1
while true; do
buildvers=($(python build/get_buildvers.py no_snapshots $pom | tr -d ',')) &&
{
python build/get_buildvers.py "no_snapshots.buildvers" $pom | tr -d ',' | \
xargs -n 1 -I {} bash -c \
"mvn $COMMON_MVN_FLAGS --file $pom -Dbuildver={} de.qaware.maven:go-offline-maven-plugin:resolve-dependencies"

for buildver in "${buildvers[@]}"; do
mvn $COMMON_MVN_FLAGS --file $pom -Dbuildver=$buildver de.qaware.maven:go-offline-maven-plugin:resolve-dependencies
done
} && {
# compile base versions to cache scala compiler and compiler bridge
mvn $COMMON_MVN_FLAGS --file $pom \
process-test-resources -pl sql-plugin-api -am
mvn $COMMON_MVN_FLAGS --file $pom process-test-resources -pl sql-plugin-api -am
} && break || {
if [[ $i -le $max_retry ]]; then
echo "mvn command failed. Retry $i/$max_retry."; ((i++)); sleep $delay; ((delay=delay*2))
else
echo "mvn command failed. Exit 1"; exit 1
fi
}
done
done
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ scalastyle-output.xml
scalastyle.txt
target/
cufile.log
cudf_log.txt
build/*.class
Loading
Loading