Skip to content

Commit

Permalink
HDDS-12080. fix rat and spotbugs issues (add exclusions)
Browse files Browse the repository at this point in the history
  • Loading branch information
Slava Tutrinov committed Jan 21, 2025
1 parent cd4cb8a commit 8ad5c05
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-support/rat/rat-exclusions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ src/test/resources/additionalfields.container
src/test/resources/incorrect.checksum.container
src/test/resources/incorrect.container
src/test/resources/test.db.ini
src/test/resources/metadata/**

# hadoop-hdds/docs
**/themes/ozonedoc/**
Expand Down
12 changes: 12 additions & 0 deletions hadoop-hdds/container-service/dev-support/findbugsExcludeFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,16 @@
<Class name="org.apache.hadoop.ozone.container.ozoneimpl.TestBackgroundContainerMetadataScanner"/>
<Bug pattern="RU_INVOKE_RUN, RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT" />
</Match>
<Match>
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE">
<Class name="org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer"/>
<Method name="testCleanUpMetadataDirInCaseOfDeadNodeState"/>
</Bug>
</Match>
<Match>
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT">
<Class name="org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer"/>
<Method name="testCleanUpMetadataDirInCaseOfDeadNodeState"/>
</Bug>
</Match>
</FindBugsFilter>

0 comments on commit 8ad5c05

Please sign in to comment.