findbugsExcludeFile.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. <FindBugsFilter>
  2. <Match>
  3. <Or>
  4. <Class name="org.apache.hadoop.fs.XAttr"/>
  5. <Class name="org.apache.hadoop.fs.XAttr$Builder"/>
  6. <Class name="org.apache.hadoop.hdfs.inotify.EventBatch"/>
  7. <Class name="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"/>
  8. <Class name="org.apache.hadoop.hdfs.protocol.LocatedBlock"/>
  9. <Class name="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"/>
  10. <Class name="org.apache.hadoop.hdfs.protocol.CorruptFileBlocks"/>
  11. <Class name="org.apache.hadoop.hdfs.protocol.DirectoryListing"/>
  12. <Class name="org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier"/>
  13. <Class name="org.apache.hadoop.hdfs.security.token.block.DataEncryptionKey"/>
  14. <Class name="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport$DiffReportEntry"/>
  15. <Class name="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus"/>
  16. <Class name="org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport"/>
  17. </Or>
  18. <Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2" />
  19. </Match>
  20. <Match>
  21. <Package name="org.apache.hadoop.hdfs.protocol.proto" />
  22. <Bug pattern="SE_BAD_FIELD,MS_SHOULD_BE_FINAL,UCF_USELESS_CONTROL_FLOW" />
  23. </Match>
  24. <Match>
  25. <Class name="org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager" />
  26. <Method name="allocSlot" />
  27. <Bug pattern="UL_UNRELEASED_LOCK_EXCEPTION_PATH" />
  28. </Match>
  29. <Match>
  30. <Class name="org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager" />
  31. <Method name="allocSlot" />
  32. <Bug pattern="UL_UNRELEASED_LOCK" />
  33. </Match>
  34. </FindBugsFilter>