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 <[email protected]>
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 <[email protected]>
Signed-off-by: Hualong Zhang <[email protected]>
---
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: [email protected]
For additional commands, e-mail: [email protected]