Skip to content

[SPARK-57845] Exclude org.roaringbitmap dependency#728

Closed
dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:SPARK-57845
Closed

[SPARK-57845] Exclude org.roaringbitmap dependency#728
dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:SPARK-57845

Conversation

@dongjoon-hyun

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR excludes the transitive org.roaringbitmap:RoaringBitmap dependency from the shaded operator jar by adding exclude group: "org.roaringbitmap" to the Spark dependency declarations in the spark-operator and spark-submission-worker modules.

Why are the changes needed?

RoaringBitmap is pulled in transitively via org.apache.spark:spark-network-common, where Spark uses it for shuffle map status tracking (HighlyCompressedMapStatus). The operator only builds driver/submission specs and does not run the shuffle/executor runtime, so this library is unused. It belongs to the same category of shuffle/storage runtime libraries that are already excluded (org.lz4, org.rocksdb, org.fusesource.leveldbjni, org.xerial.snappy, com.github.luben). Removing it keeps the shaded jar lean and reduces the dependency surface.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

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

Generated-by: Claude Opus 4.8

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you, @viirya and @peter-toth .

@dongjoon-hyun dongjoon-hyun added this to the 1.0.0 milestone Jul 1, 2026
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Merged to main

@dongjoon-hyun dongjoon-hyun deleted the SPARK-57845 branch July 1, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants