-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-29781][BUILD][2.4] Override SBT Jackson dependency like Maven #26417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Test build #113345 has finished for PR 26417 at commit
|
Retest this please |
Test build #113346 has finished for PR 26417 at commit
|
Retest this please. |
Test build #113352 has finished for PR 26417 at commit
|
Although it's irrelevant,
|
Retest this please |
Test build #113391 has finished for PR 26417 at commit
|
…gnore preview release ### What changes were proposed in this pull request? This aims to exclude the `preview` release to recover `HiveExternalCatalogVersionsSuite`. Currently, new preview release breaks `branch-2.4` PRBuilder since yesterday. New release (especially `preview`) should not affect `branch-2.4`. - #26417 (Failed 4 times) ### Why are the changes needed? **BEFORE** ```scala scala> scala.io.Source.fromURL("https://dist.apache.org/repos/dist/release/spark/").mkString.split("\n").filter(_.contains("""<li><a href="spark-""")).map("""<a href="spark-(\d.\d.\d)/">""".r.findFirstMatchIn(_).get.group(1)) java.util.NoSuchElementException: None.get ``` **AFTER** ```scala scala> scala.io.Source.fromURL("https://dist.apache.org/repos/dist/release/spark/").mkString.split("\n").filter(_.contains("""<li><a href="spark-""")).filterNot(_.contains("preview")).map("""<a href="spark-(\d.\d.\d)/">""".r.findFirstMatchIn(_).get.group(1)) res5: Array[String] = Array(2.3.4, 2.4.4) ``` ### Does this PR introduce any user-facing change? No. ### How was this patch tested? This should pass the PRBuilder. Closes #26428 from dongjoon-hyun/SPARK-HiveExternalCatalogVersionsSuite. Authored-by: Dongjoon Hyun <dhyun@apple.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
…gnore preview release ### What changes were proposed in this pull request? This aims to exclude the `preview` release to recover `HiveExternalCatalogVersionsSuite`. Currently, new preview release breaks `branch-2.4` PRBuilder since yesterday. New release (especially `preview`) should not affect `branch-2.4`. - #26417 (Failed 4 times) ### Why are the changes needed? **BEFORE** ```scala scala> scala.io.Source.fromURL("https://dist.apache.org/repos/dist/release/spark/").mkString.split("\n").filter(_.contains("""<li><a href="spark-""")).map("""<a href="spark-(\d.\d.\d)/">""".r.findFirstMatchIn(_).get.group(1)) java.util.NoSuchElementException: None.get ``` **AFTER** ```scala scala> scala.io.Source.fromURL("https://dist.apache.org/repos/dist/release/spark/").mkString.split("\n").filter(_.contains("""<li><a href="spark-""")).filterNot(_.contains("preview")).map("""<a href="spark-(\d.\d.\d)/">""".r.findFirstMatchIn(_).get.group(1)) res5: Array[String] = Array(2.3.4, 2.4.4) ``` ### Does this PR introduce any user-facing change? No. ### How was this patch tested? This should pass the PRBuilder. Closes #26428 from dongjoon-hyun/SPARK-HiveExternalCatalogVersionsSuite. Authored-by: Dongjoon Hyun <dhyun@apple.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com> (cherry picked from commit da848b1) Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Retest this please |
Test build #113398 has finished for PR 26417 at commit
|
LGTM. Thanks. |
Thank you for review and approval, @dbtsai . |
### What changes were proposed in this pull request? This PR aims to override SBT `jackson-databind` dependency like Maven in `branch-2.4`. ### Why are the changes needed? Without this, SBT and Maven works differently in `branch-2.4`. We had better fix this in `branch-2.4` because it's our LTS branch. ``` $ build/sbt -Phadoop-3.1 "core/testOnly *.ShuffleDependencySuite" [info] ShuffleDependencySuite: [info] org.apache.spark.shuffle.ShuffleDependencySuite *** ABORTED *** ... [info] Cause: com.fasterxml.jackson.databind.JsonMappingException: Incompatible Jackson version: 2.7.8 ``` ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Manually do `build/sbt -Phadoop-3.1 "core/testOnly *.ShuffleDependencySuite"`. Closes #26417 from dongjoon-hyun/SPARK-29781. Authored-by: Dongjoon Hyun <dhyun@apple.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
What changes were proposed in this pull request?
This PR aims to override SBT
jackson-databind
dependency like Maven inbranch-2.4
.Why are the changes needed?
Without this, SBT and Maven works differently in
branch-2.4
. We had better fix this inbranch-2.4
because it's our LTS branch.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manually do
build/sbt -Phadoop-3.1 "core/testOnly *.ShuffleDependencySuite"
.