2015-04-02 22:29:18 +00:00
|
|
|
<FindBugsFilter>
|
2015-04-17 06:13:15 +00:00
|
|
|
<Match>
|
|
|
|
<Or>
|
2015-04-22 16:10:12 +00:00
|
|
|
<Class name="org.apache.hadoop.fs.XAttr"/>
|
|
|
|
<Class name="org.apache.hadoop.fs.XAttr$Builder"/>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.inotify.EventBatch"/>
|
2015-04-17 06:13:15 +00:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"/>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.LocatedBlock"/>
|
2020-01-16 01:22:47 +00:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.BatchedDirectoryListing" />
|
2015-04-22 16:10:12 +00:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"/>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.CorruptFileBlocks"/>
|
2016-03-27 02:58:09 +00:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.StripedBlockInfo"/>
|
2015-04-22 16:10:12 +00:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.DirectoryListing"/>
|
2015-04-17 06:13:15 +00:00
|
|
|
<Class name="org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier"/>
|
2015-04-22 16:10:12 +00:00
|
|
|
<Class name="org.apache.hadoop.hdfs.security.token.block.DataEncryptionKey"/>
|
2015-05-04 22:00:29 +00:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport$DiffReportEntry"/>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus"/>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport"/>
|
2015-09-03 22:32:53 +00:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslResponseWithNegotiatedCipherOption"/>
|
2015-10-09 01:23:07 +00:00
|
|
|
<Class name="org.apache.hadoop.hdfs.DFSPacket"/>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.LocatedStripedBlock"/>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.util.StripedBlockUtil$ChunkByteArray"/>
|
2017-11-30 20:18:29 +00:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.SnapshotDiffReportListing$DiffReportListingEntry"/>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.SnapshotDiffReportListing"/>
|
2020-07-29 16:03:25 +00:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.SnapshotStatus"/>
|
2015-04-17 06:13:15 +00:00
|
|
|
</Or>
|
|
|
|
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2" />
|
|
|
|
</Match>
|
2015-07-08 17:37:10 +00:00
|
|
|
<Match>
|
|
|
|
<Package name="org.apache.hadoop.hdfs.protocol.proto" />
|
|
|
|
<Bug pattern="SE_BAD_FIELD,MS_SHOULD_BE_FINAL,UCF_USELESS_CONTROL_FLOW" />
|
|
|
|
</Match>
|
2015-08-27 16:13:20 +00:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager" />
|
|
|
|
<Method name="allocSlot" />
|
|
|
|
<Bug pattern="UL_UNRELEASED_LOCK_EXCEPTION_PATH" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager" />
|
|
|
|
<Method name="allocSlot" />
|
|
|
|
<Bug pattern="UL_UNRELEASED_LOCK" />
|
|
|
|
</Match>
|
2015-09-26 18:08:25 +00:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.DFSInputStream"/>
|
|
|
|
<Field name="tcpReadsDisabledForTesting"/>
|
|
|
|
<Bug pattern="MS_SHOULD_BE_FINAL"/>
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
ResponseProccessor is thread that is designed to catch RuntimeException.
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.DataStreamer$ResponseProcessor" />
|
|
|
|
<Method name="run" />
|
|
|
|
<Bug pattern="REC_CATCH_EXCEPTION" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
We use a separate lock to guard cachingStrategy in order to separate
|
|
|
|
locks for p-reads from seek + read invocations.
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.DFSInputStream" />
|
|
|
|
<Field name="cachingStrategy" />
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
</Match>
|
2017-11-30 04:28:06 +00:00
|
|
|
|
|
|
|
<!-- BlockLocations are user-facing, but LocatedBlocks are not. -->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.HdfsLocatedFileStatus" />
|
|
|
|
<Field name="hdfsloc" />
|
|
|
|
<Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<!-- Hdfs*FileStatus are internal types. This "internal" state is not sensitive. -->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.HdfsNamedFileStatus" />
|
|
|
|
<Method name="getLocalNameInBytes" />
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.HdfsNamedFileStatus" />
|
|
|
|
<Method name="getSymlinkInBytes" />
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.HdfsLocatedFileStatus" />
|
|
|
|
<Method name="getLocalNameInBytes" />
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.HdfsLocatedFileStatus" />
|
|
|
|
<Method name="getSymlinkInBytes" />
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
</Match>
|
|
|
|
|
2022-05-20 17:53:14 +00:00
|
|
|
<!--okhttp classes from Kotlin are not analysed for NP check. -->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider" />
|
|
|
|
<Method name="refresh" />
|
|
|
|
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider" />
|
|
|
|
<Method name="refresh" />
|
|
|
|
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE" />
|
|
|
|
</Match>
|
|
|
|
|
2015-04-02 22:29:18 +00:00
|
|
|
</FindBugsFilter>
|