-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-28683][BUILD] Upgrade Scala to 2.12.10 #25404
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 #108914 has finished for PR 25404 at commit
|
|
Retest this please. |
|
The failures seems relevant, @wangyum . Could you check the failures?
|
|
Test build #108924 has finished for PR 25404 at commit
|
|
Wow that's a weird one, but I played with it and, bizarrely this change in the generate code makes it work: to I can only guess something goes wrong in string interpolation because ... and then I decided to search for open bugs and yep this is it: We may just need to wait for 2.12.10 |
|
Thank you @srowen Let's wait for 2.12.10. |
|
Hi, All. Let's reuse SPARK-28683 for 2.12.10. I reopened the JIRA issue for that. |
|
Test build #110459 has finished for PR 25404 at commit
|
Let's wait for |
|
OK by me, once the javadoc plugin is available and tests pass. Looks like the problem with string interpolation was resolved. |
|
Ur, it seems to be delayed due to the release manager issue. Thank you for pushing it, @wangyum ! |
|
retest this please |
|
Test build #110780 has finished for PR 25404 at commit
|
|
genjavadoc 0.14 has released: https://repo1.maven.org/maven2/com/typesafe/genjavadoc/genjavadoc-plugin_2.12.10/0.14/ |
|
Test build #110781 has finished for PR 25404 at commit
|
|
Finally! Thanks! |
|
Retest this please. |
|
Test build #110793 has started for PR 25404 at commit |
|
Well... that's weird. Lots of tests fail because they get slightly different answers, and almost all look like tests that depend on a seeded random number generator at some level. Take https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/110781/testReport/test.org.apache.spark/JavaAPISuite/sample/ for example. It's seeded, so ought to produce the same answer. This has worked the same way for a long time, giving that particular answer with that particular seed. It's pretty straightforwardly using a java.util.Random, seeded. What could have changed? At the moment I'm wondering if somehow a compiler or collections change causes the input to be partitioned differently or iterated over differently. Still thinking about it and reviewing the (pretty minor) Scala changes. One way or the other I don't think we can let the behavior change for a seeded sample, but not clear whether it's some subtle assumption Spark makes or something else going on. |
|
Test build #110882 has finished for PR 25404 at commit
|
|
retest this please |
|
Test build #110901 has finished for PR 25404 at commit
|
|
retest this please |
|
@dongjoon-hyun ah OK, I see what you did now. By using the equivalent two-arg Looks promising that tests have passed here once. |
|
Yes. Right, @srowen ! |
|
So, if the last Jenkins run passes, this PR looks ready for me. |
|
Hmm. The last test has been running 5 hr 43 min already. It seems that we will hit timeout soon. :( |
|
The last run passed all Scala/Java UTs and moved to Python test. |
|
LGTM, pending Jenkins |
|
I checked and noticed that the PR Builder timeout |
|
Test build #110911 has finished for PR 25404 at commit
|
|
Test FAILed. |
### What changes were proposed in this pull request? This PR backport #25404 to branch-2.4. ### Why are the changes needed? Backport from master. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Existing tests Closes #25839 from wangyum/SPARK-28683-branch-2.4. Authored-by: Yuming Wang <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
This PR upgrade Scala to **2.12.10**. Release notes: - Fix regression in large string interpolations with non-String typed splices - Revert "Generate shallower ASTs in pattern translation" - Fix regression in classpath when JARs have 'a.b' entries beside 'a/b' - Faster compiler: 5–10% faster since 2.12.8 - Improved compatibility with JDK 11, 12, and 13 - Experimental support for build pipelining and outline type checking More details: https://github.com/scala/scala/releases/tag/v2.12.10 https://github.com/scala/scala/releases/tag/v2.12.9 Existing tests Closes apache#25404 from wangyum/SPARK-28683. Authored-by: Yuming Wang <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
This PR upgrade Scala to **2.12.10**. Release notes: - Fix regression in large string interpolations with non-String typed splices - Revert "Generate shallower ASTs in pattern translation" - Fix regression in classpath when JARs have 'a.b' entries beside 'a/b' - Faster compiler: 5–10% faster since 2.12.8 - Improved compatibility with JDK 11, 12, and 13 - Experimental support for build pipelining and outline type checking More details: https://github.com/scala/scala/releases/tag/v2.12.10 https://github.com/scala/scala/releases/tag/v2.12.9 Existing tests Closes apache#25404 from wangyum/SPARK-28683. Authored-by: Yuming Wang <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>

What changes were proposed in this pull request?
This PR upgrade Scala to 2.12.10.
Release notes:
Fix regression in large string interpolations with non-String typed splices
Revert "Generate shallower ASTs in pattern translation"
Fix regression in classpath when JARs have 'a.b' entries beside 'a/b'
Faster compiler: 5–10% faster since 2.12.8
Improved compatibility with JDK 11, 12, and 13
Experimental support for build pipelining and outline type checking
More details:
https://github.com/scala/scala/releases/tag/v2.12.10
https://github.com/scala/scala/releases/tag/v2.12.9
How was this patch tested?
Existing tests