2015-04-02 18:29:18 -04:00
|
|
|
<FindBugsFilter>
|
2015-04-17 02:13:15 -04:00
|
|
|
<Match>
|
|
|
|
<Or>
|
2016-08-04 13:36:51 -04:00
|
|
|
<Class name="org.apache.hadoop.fs.BlockStorageLocation"/>
|
|
|
|
<Class name="org.apache.hadoop.fs.HdfsVolumeId"/>
|
2015-04-22 12:10:12 -04:00
|
|
|
<Class name="org.apache.hadoop.fs.XAttr"/>
|
|
|
|
<Class name="org.apache.hadoop.fs.XAttr$Builder"/>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.inotify.EventBatch"/>
|
2016-08-04 13:36:51 -04:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.HdfsBlocksMetadata"/>
|
2015-04-17 02:13:15 -04:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"/>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.LocatedBlock"/>
|
2015-04-22 12:10:12 -04:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"/>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.CorruptFileBlocks"/>
|
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.DirectoryListing"/>
|
2015-04-17 02:13:15 -04:00
|
|
|
<Class name="org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier"/>
|
2015-04-22 12:10:12 -04:00
|
|
|
<Class name="org.apache.hadoop.hdfs.security.token.block.DataEncryptionKey"/>
|
2015-05-04 18:00:29 -04: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 18:32:53 -04:00
|
|
|
<Class name="org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslResponseWithNegotiatedCipherOption"/>
|
2015-04-17 02:13:15 -04:00
|
|
|
</Or>
|
|
|
|
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2" />
|
|
|
|
</Match>
|
2015-07-08 13:37:10 -04: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 12:13:20 -04: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 14:08:25 -04: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>
|
2015-04-02 18:29:18 -04:00
|
|
|
</FindBugsFilter>
|