-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
[SPARK-25075] Fix some complilation error scala 2.13 part 1 #29105
[SPARK-25075] Fix some complilation error scala 2.13 part 1 #29105
Conversation
Can one of the admins verify this patch? |
@@ -653,7 +653,7 @@ private[spark] class SparkSubmit extends Logging { | |||
if (opt.value != null && | |||
(deployMode & opt.deployMode) != 0 && | |||
(clusterManager & opt.clusterManager) != 0) { | |||
if (opt.clOption != null) { childArgs += (opt.clOption, opt.value) } | |||
if (opt.clOption != null) { childArgs += opt.clOption += opt.value } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I don't see that any of those changes are needed to compile?
Woohoo! Nice PR! |
I have these errors below. Is there a CI job testing 2.13? I couldn't find any here nor here...
|
There is no 2.13 CI/CD job yet - it doesn't compile, we know that. I'm submitting PRs to get much or all of it to compile, then tests will have to be evaluated. I'm close to having everything up to REPL compiling which would allow you to at least work on the 2.13 REPL. Those are warnings, not errors; I think your build is configured to raise them as errors. Let's only focus on errors for now as it's going to be big enough to maintain 2.12/2.13 compatibility without separate source trees already. |
Ok, I won't do any more changes for now so we don't overlap, but please let me know if I can help. Closing this PR. |
Thank you for closing, @karolchmist . Thanks, @srowen . |
What changes were proposed in this pull request?
Adapting the code to Scala 2.13
I didn't find a specific JIRA ticket for it, so I used the umbrella ticket as a reference.
Why are the changes needed?
I'm working on adapting REPL to Scala 2.13.x.
I opened a PR for it, but it was some time ago and the code changed since, with many conflicts in respect to the master branch.
So I think it's better to open first a number of smaller PRs that compile both in Scala 2.12 and 2.13. Once the modules that REPL depends on compile, I'll open a new PR that fixed the REPL itself.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Each module has its own commit.
It was compiled Scala 2.12 as well, without the SBT_MAVEN_PROFILES variable set.