findbugsExcludeFile.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  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. <Class name="org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslResponseWithNegotiatedCipherOption"/>
  18. </Or>
  19. <Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2" />
  20. </Match>
  21. <Match>
  22. <Package name="org.apache.hadoop.hdfs.protocol.proto" />
  23. <Bug pattern="SE_BAD_FIELD,MS_SHOULD_BE_FINAL,UCF_USELESS_CONTROL_FLOW" />
  24. </Match>
  25. <Match>
  26. <Class name="org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager" />
  27. <Method name="allocSlot" />
  28. <Bug pattern="UL_UNRELEASED_LOCK_EXCEPTION_PATH" />
  29. </Match>
  30. <Match>
  31. <Class name="org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager" />
  32. <Method name="allocSlot" />
  33. <Bug pattern="UL_UNRELEASED_LOCK" />
  34. </Match>
  35. </FindBugsFilter>