Hello community, I’m facing builds failure after the PR <https://github.com/apache/hadoop/commit/4cf35315838a6e65f87ed64aaa8f1d31594c7fcd> enabling spotbugs maven plugin was merged. After that all builds report failure because of the issue in spotbugs <https://github.com/spotbugs/spotbugs/issues/1161>
For example, here is a successful build <https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2701/1/console> before the spotbugs plugin was activated and a failed one <https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2701/2/console> after enabling the plugin. All builds report the following error: 17:12:07 Starting with /home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-2701/out/branch-spotbugs-hadoop-common-project_hadoop-common-warnings.xml 17:12:07 Exception in thread "main" java.lang.UnsupportedOperationException 17:12:07 at java.util.Collections$UnmodifiableCollection.removeIf(Collections.java:1086) 17:12:07 at edu.umd.cs.findbugs.BugRanker.trimToMaxRank(BugRanker.java:322) 17:12:07 at edu.umd.cs.findbugs.workflow.Update.discardUnwantedBugs(Update.java:337) 17:12:07 at edu.umd.cs.findbugs.workflow.Update.doit(Update.java:484) 17:12:07 at edu.umd.cs.findbugs.workflow.Update.main(Update.java:405) Just curious, what are the acceptable ways to mitigate the problem? - reverting back to findbugs plugin - downgrading spotbugs to the version prior the version when the issue was introduced I'm stuck with my failed build and can’t get the PR approved. Need Help :) Kind Regards, Mike Pryakhin