ivandika3 opened a new pull request, #11056: URL: https://github.com/apache/ozone/pull/11056
## What changes were proposed in this pull request? ErrorProne is a well-known static analysis tool used in other ASF projects such as Celeborn, Druid, HBase, Solr, Beam, etc. This patch adds ErrorProne to the Ozone CI that fails if there are any ERROR bug patterns found (https://errorprone.info/bugpatterns), where as WARNING are included in the summary.txt but does not fail the CI. This patch also fixes all the ERROR bug patterns found in the current Ozone codebase. The fixes are split into multiple commits. I have attached [Uploading errorprone-error-fixes.md…]() for the bug patterns and the possible risks. Note that the WARNING issues are currently not fixed and we can raise follow up tasks to handle these. Additionally, we currently do not have any ErrorProne `ThreadSafe` annotation. We can add this in the future to catch thread safety violation. This `ThreadSafe` annotation can hopefully work in conjunction with fbinfer HDDS-15560. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-16084 ## How was this patch tested? CI. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
