You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by cn...@apache.org on 2025/12/23 17:26:56 UTC

(hadoop) branch trunk updated: YARN-11912: Suppress Spotbugs warnings introduced in recent trunk changes

This is an automated email from the ASF dual-hosted git repository.

cnauroth pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 4a82720b308 YARN-11912: Suppress Spotbugs warnings introduced in recent trunk changes
4a82720b308 is described below

commit 4a82720b30839e570d74339f9f300763c30ed020
Author: Chris Nauroth <cn...@apache.org>
AuthorDate: Tue Dec 23 17:25:27 2025 +0000

    YARN-11912: Suppress Spotbugs warnings introduced in recent trunk changes
    
    Closes #8143
    
    Signed-off-by: Shilun Fan <sl...@apache.org>
    Signed-off-by: Hualong Zhang <zh...@apache.org>
---
 hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml b/hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml
index 81db83645e7..bf7440c61cb 100644
--- a/hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml
+++ b/hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml
@@ -791,7 +791,7 @@
 
   <Match>
     <Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService$PublicLocalizer" />
-    <Method name="run" />
+    <Method name="work" />
     <Bug pattern="NP_NULL_ON_SOME_PATH_EXCEPTION" />
   </Match>
 
@@ -806,4 +806,9 @@
     <Method name="calculateMinimumResource" />
     <Bug pattern="FE_FLOATING_POINT_EQUALITY" />
   </Match>
+
+  <Match>
+    <Class name="org.apache.hadoop.yarn.server.resourcemanager.ResourceManager" />
+    <Bug pattern="IS2_INCONSISTENT_SYNC" />
+  </Match>
 </FindBugsFilter>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org