Skip to content

Conversation

@krisnaru
Copy link
Contributor

@krisnaru krisnaru commented May 16, 2025

Summary

Updates the bazel builds to produce the spark assembly artifacts on par with sbt artifacts w.r.t size.

Commands:
`
bazel build --config java_8 --config scala_2.11 --config spark_2.4 //spark:spark-assembly_deploy.jar
bazel build --config java_11 --config scala_2.12 --config spark_3.2 //spark:spark-assembly_deploy.jar
bazel build --config java_11 --config scala_2.12 --config spark_3.5 //spark:spark-assembly_deploy.jar

`
Updated minor version of spark 3.5 to 3.5.5

Why / Goal

To ensure the artifacts are tiny and dont collide with environment.

Checklist

  • Documentation update

Reviewers

@abbywh @tswitzer-netflix @pengyu-hou @hzding621

@krisnaru krisnaru force-pushed the bazel-spark-fatjar-fix branch from 9f3c649 to cf779d6 Compare May 16, 2025 20:30
@krisnaru krisnaru changed the title fixing the spark fat jar bundling Reduce the size of spark assembly artifact on par with sbt output May 25, 2025
@krisnaru krisnaru marked this pull request as ready for review May 25, 2025 22:33
@pengyu-hou
Copy link
Collaborator

@krisnaru could you also test it working with Spark 3.1.1? Thanks

@krisnaru
Copy link
Contributor Author

@krisnaru could you also test it working with Spark 3.1.1? Thanks

Yes, tested on spark 3.1.1

@pengyu-hou
Copy link
Collaborator

@hzding621 could you take a look at this PR?

@pengyu-hou pengyu-hou merged commit ae3aef6 into airbnb:main Jun 20, 2025
9 checks passed
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.

6 participants