Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-34757][CORE][DEPLOY] Ignore cache for SNAPSHOT dependencies in…
… spark-submit ### What changes were proposed in this pull request? This change is to ignore cache for SNAPSHOT dependencies in spark-submit. ### Why are the changes needed? When spark-submit is executed with --packages, it will not download the dependency jars when they are available in cache (e.g. ivy cache), even when the dependencies are SNAPSHOT. This might block developers who work on external modules in Spark (e.g. spark-avro), since they need to remove the cache manually every time when they update the code during developments (which generates SNAPSHOT jars). Without knowing this, they could be blocked wondering why their code changes are not reflected in spark-submit executions. ### Does this PR introduce _any_ user-facing change? Yes. With this change, developers/users who run spark-submit with SNAPSHOT dependencies do not need to remove the cache every time when the SNAPSHOT dependencies are updated. ### How was this patch tested? Added a unit test. Closes #31849 from bozhang2820/spark-submit-cache-ignore. Authored-by: Bo Zhang <bo.zhang@databricks.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
- Loading branch information