Skip to content

Conversation

@wayneguow
Copy link
Contributor

What changes were proposed in this pull request?

This PR aims to remove unused javax.activation:activation dependence.

Why are the changes needed?

Reduce useless dependencies of Spark.

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.

@wayneguow
Copy link
Contributor Author

It comes from https://github.com/apache/spark/pull/22081/files#r209707448, but after #49854 , it seems that nowhere depends on this.

Copy link
Contributor

@cnauroth cnauroth left a comment

Choose a reason for hiding this comment

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

Agreed, this looks unused now.

A minor request: can you please also remove mention from LICENSE-binary?

https://github.com/apache/spark/blob/master/LICENSE-binary#L504


Common Development and Distribution License (CDDL) 1.0
------------------------------------------------------
javax.activation:activation http://www.oracle.com/technetwork/java/javase/tech/index-jsp-138795.html
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cnauroth Here it is. Maybe you didn't notice the change here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you, I do see your change there, but it seems there is one more mention in LICENSE-binary at the root of the repo that could be removed:

https://github.com/apache/spark/blob/master/LICENSE-binary#L504

Copy link
Member

Choose a reason for hiding this comment

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

This is the line 504 of LICENSE-binary, isn't it, @cnauroth ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry all, misread this as coming from a different file. Thanks for the patch, @wayneguow .

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-51153][BUILD] Remove unused javax.activation:activation dependence [SPARK-51153][BUILD] Remove unused javax.activation:activation dependency Feb 11, 2025
Copy link
Member

@dongjoon-hyun dongjoon-hyun 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 if CI passed.

@dongjoon-hyun
Copy link
Member

OracleIntegrationSuite failure is irrelevant to this PR.
Merged to master/4.0

dongjoon-hyun pushed a commit that referenced this pull request Feb 11, 2025
…ndency

### What changes were proposed in this pull request?

This PR aims to remove unused `javax.activation:activation` dependence.

### Why are the changes needed?

Reduce useless dependencies of Spark.

### 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 #49876 from wayneguow/drop_activation.

Authored-by: Wei Guo <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 6416297)
Signed-off-by: Dongjoon Hyun <[email protected]>
@wayneguow wayneguow deleted the drop_activation branch February 25, 2025 03:18
zifeif2 pushed a commit to zifeif2/spark that referenced this pull request Nov 14, 2025
…ndency

### What changes were proposed in this pull request?

This PR aims to remove unused `javax.activation:activation` dependence.

### Why are the changes needed?

Reduce useless dependencies of Spark.

### 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#49876 from wayneguow/drop_activation.

Authored-by: Wei Guo <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 276d1af)
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants