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

[SPARK-48021][ML][BUILD][FOLLOWUP] add --add-modules=jdk.incubator.vector to maven compile args #46259

Closed
wants to merge 1 commit into from

Conversation

panbingkun
Copy link
Contributor

What changes were proposed in this pull request?

The pr is following up #46246
The pr aims to add --add-modules=jdk.incubator.vector to maven compile args.

Why are the changes needed?

As commented by @LuciferYang , we need to be consistent in maven compile.
#46246 (comment)
image

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass GA.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the BUILD label Apr 28, 2024
@panbingkun
Copy link
Contributor Author

cc @LuciferYang

@LuciferYang
Copy link
Contributor

Yes, we should keep JavaModuleOptions, extraTestJavaArgs in SparkBuild.scala, and extraTestJavaArgs in pom.xml consistent.

Copy link
Contributor

@LuciferYang LuciferYang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM

@LuciferYang
Copy link
Contributor

LuciferYang commented Apr 28, 2024

We can manually verify it through Maven test build/mvn test -pl mllib-local:

Before

image

there is a WARNING message: 警告: Failed to load implementation from:dev.ludovic.netlib.blas.VectorBLAS

After

image

no WARNING message related to VectorBLAS

@panbingkun
Copy link
Contributor Author

We can manually verify it through Maven test build/mvn test -pl mllib-local:

Before

image

there is a WARNING message: 警告: Failed to load implementation from:dev.ludovic.netlib.blas.VectorBLAS

After

image

no WARNING message related to VectorBLAS

Yeah

@LuciferYang
Copy link
Contributor

Merged into master for Spark 4.0. Thanks @panbingkun and @yaooqinn

JacobZheng0927 pushed a commit to JacobZheng0927/spark that referenced this pull request May 11, 2024
…ector` to maven compile args

### What changes were proposed in this pull request?
The pr is following up apache#46246
The pr aims to  add `--add-modules=jdk.incubator.vector` to maven `compile args`.

### Why are the changes needed?
As commented by LuciferYang , we need to be consistent in `maven` compile.
apache#46246 (comment)
<img width="907" alt="image" src="https://github.com/apache/spark/assets/15246973/26163da2-f27d-4ec2-893f-d9282b68aec1">

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Pass GA.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes apache#46259 from panbingkun/SPARK-48021.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: yangjie01 <yangjie01@baidu.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants