2009-08-16 23:53:27 -04:00
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2009-05-19 00:56:52 -04:00
|
|
|
<FindBugsFilter>
|
2013-07-16 20:06:48 -04:00
|
|
|
<Match>
|
|
|
|
<Package name="org.apache.hadoop.security.proto" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Package name="org.apache.hadoop.tools.proto" />
|
|
|
|
</Match>
|
2009-05-19 00:56:52 -04:00
|
|
|
<Match>
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="EI_EXPOSE_REP2" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="~.*_jsp" />
|
|
|
|
<Bug pattern="DLS_DEAD_LOCAL_STORE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Field name="_jspx_dependants" />
|
|
|
|
<Bug pattern="UWF_UNWRITTEN_FIELD" />
|
|
|
|
</Match>
|
|
|
|
<!--
|
|
|
|
Inconsistent synchronization for Client.Connection.out is
|
|
|
|
is intentional to make a connection to be closed instantly.
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.ipc.Client$Connection" />
|
2016-09-09 11:39:35 -04:00
|
|
|
<Field name="ipcStreams" />
|
2009-05-19 00:56:52 -04:00
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
</Match>
|
2016-07-31 18:34:26 -04:00
|
|
|
<!--
|
|
|
|
The nativeCoder field is get/set and used by native codes.
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.io.erasurecode.rawcoder.AbstractNativeRawEncoder" />
|
|
|
|
<Field name="nativeCoder" />
|
|
|
|
<Bug pattern="UUF_UNUSED_FIELD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.io.erasurecode.rawcoder.AbstractNativeRawDecoder" />
|
|
|
|
<Field name="nativeCoder" />
|
|
|
|
<Bug pattern="UUF_UNUSED_FIELD" />
|
|
|
|
</Match>
|
2010-02-22 17:28:29 -05:00
|
|
|
<!--
|
|
|
|
Further SaslException should be ignored during cleanup and
|
|
|
|
original exception should be re-thrown.
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.security.SaslRpcClient" />
|
|
|
|
<Bug pattern="DE_MIGHT_IGNORE" />
|
|
|
|
</Match>
|
2009-05-19 00:56:52 -04:00
|
|
|
<!--
|
|
|
|
Ignore Cross Scripting Vulnerabilities
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Package name="~org.apache.hadoop.mapred.*" />
|
|
|
|
<Bug code="XSS" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.taskdetails_jsp" />
|
|
|
|
<Bug code="HRS" />
|
|
|
|
</Match>
|
|
|
|
<!--
|
|
|
|
Ignore warnings where child class has the same name as
|
|
|
|
super class. Classes based on Old API shadow names from
|
|
|
|
new API. Should go off after HADOOP-1.0
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="~org.apache.hadoop.mapred.*" />
|
|
|
|
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS" />
|
|
|
|
</Match>
|
|
|
|
<!--
|
|
|
|
Ignore warnings for usage of System.exit. This is
|
|
|
|
required and have been well thought out
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.Child$2" />
|
|
|
|
<Method name="run" />
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.JobTracker" />
|
|
|
|
<Method name="addHostToNodeMapping" />
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.Task" />
|
|
|
|
<Or>
|
|
|
|
<Method name="done" />
|
|
|
|
<Method name="commit" />
|
|
|
|
<Method name="statusUpdate" />
|
|
|
|
</Or>
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.Task$TaskReporter" />
|
|
|
|
<Method name="run" />
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
</Match>
|
2013-05-22 02:36:24 -04:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.util.ProgramDriver" />
|
|
|
|
<Method name="driver" />
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
</Match>
|
2014-08-21 17:38:16 -04:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.util.RunJar" />
|
|
|
|
<Method name="run" />
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
</Match>
|
2009-05-19 00:56:52 -04:00
|
|
|
<!--
|
|
|
|
We need to cast objects between old and new api objects
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.OutputCommitter" />
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
</Match>
|
|
|
|
<!--
|
|
|
|
We intentionally do the get name from the inner class
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.TaskTracker$MapEventsFetcherThread" />
|
|
|
|
<Method name="run" />
|
|
|
|
<Bug pattern="IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.FileOutputCommitter" />
|
|
|
|
<Bug pattern="NM_WRONG_PACKAGE_INTENTIONAL" />
|
|
|
|
</Match>
|
|
|
|
<!--
|
|
|
|
Ignoring this warning as resolving this would need a non-trivial change in code
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorBaseDescriptor" />
|
|
|
|
<Method name="configure" />
|
|
|
|
<Field name="maxNumItems" />
|
|
|
|
<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD" />
|
|
|
|
</Match>
|
|
|
|
<!--
|
|
|
|
Comes from org.apache.jasper.runtime.ResourceInjector. Cannot do much.
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.jobqueue_005fdetails_jsp" />
|
|
|
|
<Field name="_jspx_resourceInjector" />
|
|
|
|
<Bug pattern="SE_BAD_FIELD" />
|
|
|
|
</Match>
|
|
|
|
<!--
|
|
|
|
Storing textInputFormat and then passing it as a parameter. Safe to ignore.
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJob" />
|
|
|
|
<Method name="createValueAggregatorJob" />
|
|
|
|
<Bug pattern="DLS_DEAD_STORE_OF_CLASS_LITERAL" />
|
|
|
|
</Match>
|
|
|
|
<!--
|
|
|
|
Can remove this after the upgrade to findbugs1.3.8
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.lib.db.DBInputFormat" />
|
|
|
|
<Method name="getSplits" />
|
|
|
|
<Bug pattern="DLS_DEAD_LOCAL_STORE" />
|
|
|
|
</Match>
|
|
|
|
<!--
|
|
|
|
This is a spurious warning. Just ignore
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.mapred.MapTask$MapOutputBuffer" />
|
|
|
|
<Field name="kvindex" />
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
core changes
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="~org.apache.hadoop.*" />
|
|
|
|
<Bug code="MS" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.fs.FileSystem" />
|
|
|
|
<Method name="checkPath" />
|
|
|
|
<Bug pattern="ES_COMPARING_STRINGS_WITH_EQ" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.io.Closeable" />
|
|
|
|
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_INTERFACE" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.security.AccessControlException" />
|
|
|
|
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.util.ProcfsBasedProcessTree" />
|
|
|
|
<Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Streaming, Examples
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.streaming.StreamUtil$TaskId" />
|
|
|
|
<Bug pattern="URF_UNREAD_FIELD" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.examples.DBCountPageView" />
|
|
|
|
<Method name="verify" />
|
|
|
|
<Bug pattern="OBL_UNSATISFIED_OBLIGATION" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.examples.ContextFactory" />
|
|
|
|
<Method name="setAttributes" />
|
|
|
|
<Bug pattern="OBL_UNSATISFIED_OBLIGATION" />
|
|
|
|
</Match>
|
|
|
|
|
2009-06-24 01:48:25 -04:00
|
|
|
<!--
|
|
|
|
TFile
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.io.file.tfile.Chunk$ChunkDecoder" />
|
|
|
|
<Method name="close" />
|
|
|
|
<Bug pattern="SR_NOT_CHECKED" />
|
|
|
|
</Match>
|
|
|
|
<!--
|
|
|
|
The purpose of skip() is to drain remaining bytes of the chunk-encoded
|
|
|
|
stream (one chunk at a time). The termination condition is checked by
|
|
|
|
checkEOF().
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.io.file.tfile.Utils" />
|
|
|
|
<Method name="writeVLong" />
|
|
|
|
<Bug pattern="SF_SWITCH_FALLTHROUGH" />
|
|
|
|
</Match>
|
2014-12-10 15:44:25 -05:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.io.Text" />
|
|
|
|
<Method name="bytesToCodePoint" />
|
|
|
|
<Bug pattern="SF_SWITCH_NO_DEFAULT" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.util.PureJavaCrc32C" />
|
|
|
|
<Method name="update" />
|
|
|
|
<Bug pattern="SF_SWITCH_NO_DEFAULT" />
|
|
|
|
</Match>
|
2009-06-24 01:48:25 -04:00
|
|
|
<!--
|
|
|
|
The switch condition fall through is intentional and for performance
|
|
|
|
purposes.
|
|
|
|
-->
|
2011-05-10 19:56:54 -04:00
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.log.EventCounter"/>
|
|
|
|
<!-- backward compatibility -->
|
|
|
|
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS"/>
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.metrics.jvm.EventCounter"/>
|
|
|
|
<!-- backward compatibility -->
|
|
|
|
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS"/>
|
|
|
|
</Match>
|
2011-10-28 17:55:05 -04:00
|
|
|
<Match>
|
|
|
|
<!-- protobuf generated code -->
|
2012-12-17 17:16:57 -05:00
|
|
|
<Class name="~org\.apache\.hadoop\.ipc\.protobuf\.ProtobufRpcEngineProtos.*"/>
|
2011-10-28 17:55:05 -04:00
|
|
|
</Match>
|
2020-06-12 13:46:33 -04:00
|
|
|
<Match>
|
|
|
|
<!-- protobuf generated code -->
|
|
|
|
<Class name="~org\.apache\.hadoop\.ipc\.protobuf\.ProtobufRpcEngine2Protos.*"/>
|
|
|
|
</Match>
|
2012-01-26 18:23:03 -05:00
|
|
|
<Match>
|
|
|
|
<!-- protobuf generated code -->
|
|
|
|
<Class name="~org\.apache\.hadoop\.ipc\.protobuf\.ProtocolInfoProtos.*"/>
|
2012-02-29 15:43:21 -05:00
|
|
|
</Match>
|
2012-03-01 20:32:49 -05:00
|
|
|
<Match>
|
2012-02-29 15:43:21 -05:00
|
|
|
<!-- protobuf generated code -->
|
|
|
|
<Class name="~org\.apache\.hadoop\.ipc\.protobuf\.IpcConnectionContextProtos.*"/>
|
2012-04-23 12:34:21 -04:00
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<!-- protobuf generated code -->
|
2012-12-17 17:16:57 -05:00
|
|
|
<Class name="~org\.apache\.hadoop\.ipc\.protobuf\.RpcHeaderProtos.*"/>
|
2012-01-26 18:23:03 -05:00
|
|
|
</Match>
|
2012-03-01 20:32:49 -05:00
|
|
|
<Match>
|
|
|
|
<!-- protobuf generated code -->
|
|
|
|
<Class name="~org\.apache\.hadoop\.ha\.proto\.HAServiceProtocolProtos.*"/>
|
|
|
|
</Match>
|
2012-05-15 14:16:49 -04:00
|
|
|
<Match>
|
|
|
|
<!-- protobuf generated code -->
|
|
|
|
<Class name="~org\.apache\.hadoop\.ha\.proto\.ZKFCProtocolProtos.*"/>
|
|
|
|
</Match>
|
2013-01-04 11:46:28 -05:00
|
|
|
<Match>
|
|
|
|
<!-- protobuf generated code -->
|
|
|
|
<Class name="~org\.apache\.hadoop\.security\.proto\.SecurityProtos.*"/>
|
|
|
|
</Match>
|
2013-02-13 17:13:44 -05:00
|
|
|
<Match>
|
|
|
|
<!-- protobuf generated code -->
|
|
|
|
<Class name="~org\.apache\.hadoop\.ipc\.protobuf\.TestProtos.*"/>
|
|
|
|
</Match>
|
2014-02-28 14:48:31 -05:00
|
|
|
<Match>
|
|
|
|
<!-- protobuf generated code -->
|
|
|
|
<Class name="~org\.apache\.hadoop\.ipc\.proto\.RefreshCallQueueProtocolProtos.*"/>
|
|
|
|
</Match>
|
2014-06-11 21:27:39 -04:00
|
|
|
<Match>
|
|
|
|
<!-- protobuf generated code -->
|
|
|
|
<Class name="~org\.apache\.hadoop\.ipc\.proto\.GenericRefreshProtocolProtos.*"/>
|
|
|
|
</Match>
|
2014-09-26 13:30:30 -04:00
|
|
|
<Match>
|
|
|
|
<!-- protobuf generated code -->
|
2014-10-09 14:58:36 -04:00
|
|
|
<Class name="~org\.apache\.hadoop\.tracing\.TraceAdminPB.*"/>
|
2014-09-26 13:30:30 -04:00
|
|
|
</Match>
|
2017-08-02 15:12:48 -04:00
|
|
|
<Match>
|
|
|
|
<!-- protobuf generated code -->
|
|
|
|
<Class name="~org\.apache\.hadoop\.fs\.FSProto.*"/>
|
|
|
|
</Match>
|
2012-04-23 12:34:21 -04:00
|
|
|
|
2012-07-11 21:31:40 -04:00
|
|
|
<!--
|
|
|
|
Manually checked, misses child thread manually syncing on parent's intrinsic lock.
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.metrics2.lib.MutableQuantiles" />
|
|
|
|
<Field name="previousSnapshot" />
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
</Match>
|
2012-11-27 14:23:05 -05:00
|
|
|
<!--
|
|
|
|
The method uses a generic type T that extends two other types
|
|
|
|
T1 and T2. Findbugs complains of a cast from T1 to T2.
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.fs.DelegationTokenRenewer" />
|
|
|
|
<Method name="removeRenewAction" />
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
</Match>
|
2016-09-09 11:39:35 -04:00
|
|
|
|
2013-06-21 16:09:31 -04:00
|
|
|
<!--
|
|
|
|
The switch condition for INITIATE is expected to fallthru to RESPONSE
|
|
|
|
to process initial sasl response token included in the INITIATE
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.ipc.Server$Connection" />
|
|
|
|
<Method name="processSaslMessage" />
|
|
|
|
<Bug pattern="SF_SWITCH_FALLTHROUGH" />
|
|
|
|
</Match>
|
2013-06-17 02:39:33 -04:00
|
|
|
|
2016-06-06 04:31:43 -04:00
|
|
|
<!-- WA_NOT_IN_LOOP is invalid in util.concurrent.AsyncGet$Util.wait. -->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.util.concurrent.AsyncGet$Util" />
|
|
|
|
<Method name="wait" />
|
|
|
|
<Bug pattern="WA_NOT_IN_LOOP" />
|
|
|
|
</Match>
|
|
|
|
|
2013-06-17 02:39:33 -04:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.service.AbstractService" />
|
|
|
|
<Method name="stop" />
|
|
|
|
<Bug code="JLM" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.service.AbstractService" />
|
|
|
|
<Method name="waitForServiceToStop" />
|
|
|
|
<Bug code="JLM" />
|
|
|
|
</Match>
|
2013-09-27 07:32:53 -04:00
|
|
|
|
|
|
|
<!--
|
|
|
|
OpenStack Swift FS module -closes streams in a different method
|
|
|
|
from where they are opened.
|
|
|
|
-->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.fs.swift.snative.SwiftNativeOutputStream"/>
|
|
|
|
<Method name="uploadFileAttempt"/>
|
|
|
|
<Bug pattern="OBL_UNSATISFIED_OBLIGATION"/>
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.fs.swift.snative.SwiftNativeOutputStream"/>
|
|
|
|
<Method name="uploadFilePartAttempt"/>
|
|
|
|
<Bug pattern="OBL_UNSATISFIED_OBLIGATION"/>
|
|
|
|
</Match>
|
|
|
|
|
2014-01-27 16:36:42 -05:00
|
|
|
<!-- code from maven source, null value is checked at callee side. -->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.util.ComparableVersion$ListItem" />
|
|
|
|
<Method name="compareTo" />
|
|
|
|
<Bug code="NP" />
|
|
|
|
</Match>
|
|
|
|
|
2014-05-05 17:43:14 -04:00
|
|
|
<Match>
|
2014-09-04 12:11:10 -04:00
|
|
|
<Class name="org.apache.hadoop.util.HttpExceptionUtils"/>
|
2014-05-05 17:43:14 -04:00
|
|
|
<Method name="validateResponse"/>
|
|
|
|
<Bug pattern="REC_CATCH_EXCEPTION"/>
|
|
|
|
</Match>
|
|
|
|
|
2014-12-23 17:29:05 -05:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.conf.Configuration"/>
|
|
|
|
<Method name="loadProperty"/>
|
|
|
|
<Bug pattern="NP_NULL_PARAM_DEREF"/>
|
|
|
|
</Match>
|
|
|
|
|
2018-11-29 10:27:55 -05:00
|
|
|
<!-- Parameter is checked with Strings.isNullOrEmpty before accessing -->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.conf.Configuration"/>
|
|
|
|
<Method name="asXmlDocument"/>
|
|
|
|
<Bug pattern="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE"/>
|
|
|
|
</Match>
|
|
|
|
|
2016-09-29 14:27:30 -04:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.ipc.ExternalCall"/>
|
|
|
|
<Filed name="done"/>
|
|
|
|
<Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER"/>
|
|
|
|
</Match>
|
2016-11-17 23:48:35 -05:00
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.metrics2.impl.MetricsConfig"/>
|
|
|
|
<Method name="toString"/>
|
|
|
|
<Bug pattern="DM_DEFAULT_ENCODING"/>
|
|
|
|
</Match>
|
2017-06-22 21:28:58 -04:00
|
|
|
|
|
|
|
<!-- We need to make the methods public because PBHelperClient calls them. -->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.crypto.CipherSuite"/>
|
|
|
|
<Method name="setUnknownValue"/>
|
|
|
|
<Bug pattern="ME_ENUM_FIELD_SETTER"/>
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.crypto.CryptoProtocolVersion"/>
|
|
|
|
<Method name="setUnknownValue"/>
|
|
|
|
<Bug pattern="ME_ENUM_FIELD_SETTER"/>
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<!-- We need to make the method public for testing. -->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.metrics2.lib.DefaultMetricsSystem"/>
|
|
|
|
<Method name="setMiniClusterMode"/>
|
|
|
|
<Bug pattern="ME_ENUM_FIELD_SETTER"/>
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<!-- Experimental interface. Ignore. -->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.metrics2.lib.DefaultMetricsFactory"/>
|
|
|
|
<Method name="setInstance"/>
|
|
|
|
<Bug pattern="ME_ENUM_FIELD_SETTER"/>
|
|
|
|
</Match>
|
2017-11-22 10:28:12 -05:00
|
|
|
|
|
|
|
<!-- findbugs is complaining that a stream isn't closed. It will be. -->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.util.JsonSerialization"/>
|
|
|
|
<Method name="save"/>
|
|
|
|
<Bug pattern="OBL_UNSATISFIED_OBLIGATION"/>
|
|
|
|
</Match>
|
2020-01-16 12:57:50 -05:00
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.ipc.ProtobufHelper" />
|
|
|
|
<Method name="getFixedByteString" />
|
|
|
|
<Bug pattern="AT_OPERATION_SEQUENCE_ON_CONCURRENT_ABSTRACTION" />
|
|
|
|
</Match>
|
2013-09-27 07:32:53 -04:00
|
|
|
</FindBugsFilter>
|