AbsaOSS / AbsaOSS/spline-spark-agent

Change the POM and CD configs to make `agent-core` Spark specific

未关闭
#604 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Tech debt
主要语言
Scala
星标
210
派生
102
平均合并
1 天 1 小时
30 天内合并 PR
1

描述

Universal Spark version independent `agent-core` keeps making problems in transient dependency management.
We need to return to the concept of separate core build per major Spark version controlled by Maven profiles.
We could use Maven classifier to distinguish between versions.

https://www.baeldung.com/maven-artifact-classifiers

Reasoning:
1. No more `MethodNotFoundException` and other linkage errors because of binary incompatibility in transient dependencies of Spline and Spark
2. Avoiding dependency shading (e.g. `json4s`, see #602) that complicates running code in the local development mode and debugging
3. Clean and unambiguous dependencies and easy profile switching makes the development process easier and less error prone, thus more efficient.
4. The project structure would allow for solving potential breaking API changes in future Spark versions easier with ability to use additional Spark version specific source directories and adapters if there is a need for.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。