-
Notifications
You must be signed in to change notification settings - Fork 374
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
[CELEBORN-1070] Add error-prone to pom.xml. #2025
Conversation
This is resubmission of #2016. +CC @waitinfuture |
@mridulm, could you also test it on JDK17? At present Celeborn supports JDK17. |
So looks like there are more failures to be fixed in flink related profiles. |
Seems GA with JDK 17 fails. |
Yes, looks like JDK 17 has some specific instructions as well - did not realize Celeborn supports jdk 17 :) will add those as well, after I fix the flink related failures. |
if applicable, would you mind adding such compiling improvement to sbt building system as well? background: in the previous discussion, we'd like to migrate the building system from maven to sbt because:
the main process is driven by @cfmcgrady, and the first step is to make sbt align with maven(almost reached), and then drop maven ... |
Codecov Report
@@ Coverage Diff @@
## main #2025 +/- ##
==========================================
+ Coverage 46.90% 46.92% +0.03%
==========================================
Files 165 165
Lines 10531 10535 +4
Branches 959 958 -1
==========================================
+ Hits 4938 4943 +5
- Misses 5271 5272 +1
+ Partials 322 320 -2 see 6 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@pan3793
I am currently running with fork mode = true for all the tests with maven and it is running successfully - can you give more details on this please ? There are so many combinations, I might have missed some !
I did not find sbt support details, can you point me to it ? |
The flink failures will be addressed by #2029 |
+CC @waitinfuture , @SteNicholas All the tests pass now |
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.
LGTM, thanks!
Here is sbt doc https://celeborn.apache.org/docs/latest/developers/sbt/ |
Yes, we fixed several cases to make it pass now. Basically, when setting The ideal solution is
Currently, we only provide developer docs with sbt |
pom.xml
Outdated
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.11.0</version> |
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.
<version>3.11.0</version> | |
<version>${maven.plugin.compiler.version}</version> |
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.
LGTM. Thanks for @mridulm updates.
Thanks, merged to main for 0.4 |
@mridulm seems you didn't set up the git email address properly, PS: I fixed the email when merging so that the GitHub link works, I saw the unrecognized commits that you merged in the Spark repo. |
That is done on purpose to minimize spam |
alright... |
What changes were proposed in this pull request?
Add error prone to the build.
Error Prone is a static analysis tool that cam catch common bugs and mistakes during compilation.
Why are the changes needed?
Catch potential issues during build
Does this PR introduce any user-facing change?
No
How was this patch tested?
Local build