[SPARK-56356][BUILD] Fix an issue in release build caused by error on fetching artifacts#55198
Open
sarutak wants to merge 1 commit intoapache:masterfrom
Open
[SPARK-56356][BUILD] Fix an issue in release build caused by error on fetching artifacts#55198sarutak wants to merge 1 commit intoapache:masterfrom
sarutak wants to merge 1 commit intoapache:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This PR fixes a release build failure which recently happens at document generation phase due to error on fetching artifacts.
https://github.com/apache/spark/actions/runs/23083193766/job/67055792458
This issue is similar to SPARK-34762 and SPARK-37302 in that there are pom files but are not corresponding jar files under
.m2for some dependencies.In this case, the following command is executed through make-distribution.sh and downloads pom files for
xz:1.10,netty-codec-protobufandnetty-codec-marshallingAnd when building documents, the following command is executed through build_api_docs.rb and tries to download the dependencies.
Regarding xz,
1.12is declared inpom.xmlso this PR fixesSparkBuild.scalato pin the version.Regarding
netty-codec-protobufandnetty-codec-marshalling, they are declared in pom.xml to be excluded. So, this PR fixesSparkBuild.scalato exclude them.Why are the changes needed?
To recover the release build.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
The following command successfully finishes on my laptop.
Note that to build documents, please follow the instructions in
docs/README.mdWas this patch authored or co-authored using generative AI tooling?
No.