Skip to content

Commit 6fb0dc0

Browse files
committed
YARN-11879. Fix SpotBugs issues in hadoop-yarn-common module.
1 parent 33dcfd6 commit 6fb0dc0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

hadoop-mapreduce-project/dev-support/findbugs-exclude.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -554,10 +554,4 @@
554554
<Method name="onSuccess" />
555555
<Bug pattern="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" />
556556
</Match>
557-
558-
<Match>
559-
<Package name="org.apache.hadoop.yarn.api.records.impl.pb"/>
560-
<Class name="~.*Impl$"/>
561-
<Bug pattern="AT_STALE_THREAD_WRITE_OF_PRIMITIVE"/>
562-
</Match>
563557
</FindBugsFilter>

hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,4 +726,10 @@
726726
<Package name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.placement.schema" />
727727
</Match>
728728

729+
<Match>
730+
<Package name="org.apache.hadoop.yarn.api.records.impl.pb"/>
731+
<Class name="~.*Impl$"/>
732+
<Bug pattern="AT_STALE_THREAD_WRITE_OF_PRIMITIVE"/>
733+
</Match>
734+
729735
</FindBugsFilter>

0 commit comments

Comments
 (0)