You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #11560 changed the default scala.recompile.mode from all to incremental.
This causes build failures in clean/CI environments because Zinc's incremental
compiler does not reliably track transitive dependencies across Spark's module
structure, producing errors like:
Symbol 'type org.apache.spark.sql.internal.SqlApiConf' is missing from the classpath.
Solution
Restore scala.recompile.mode default to all (safe for CI).
Rename the bloop profile (added in [CORE] Add Bloop integration for faster Scala incremental compilation #11645) to fast-build and add scala.recompile.mode=incremental inside it, so bloop setup and run-scala-test.sh (which use -Pfast-build) benefit from faster incremental
compilation in contexts where Zinc's analysis is warm.
Simplify run-scala-test.sh: replace 5 redundant -D skip flags with -Pfast-build.
Also includes pathing JAR support in run-scala-test.sh to avoid command-line length limits.