2016-12-19 15:09:53 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
|
|
|
<FindBugsFilter>
|
|
|
|
<Match>
|
|
|
|
<Package name="org.apache.slider.api.proto" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<class name="~org\.apache\.slider\.*" />
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.core.zk.BlockingZKWatcher" />
|
|
|
|
<Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.server.appmaster.state.ProviderAppState" />
|
|
|
|
<Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.providers.ProviderUtils" />
|
|
|
|
<Bug pattern="SWL_SLEEP_WITH_LOCK_HELD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.server.appmaster.SliderAppMaster" />
|
|
|
|
<Bug pattern="WA_AWAIT_NOT_IN_LOOP" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.core.zk.ZKIntegration" />
|
|
|
|
<Bug pattern="SBSC_USE_STRINGBUFFER_CONCATENATION" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.server.servicemonitor.ProbeWorker" />
|
|
|
|
<Bug pattern="SF_SWITCH_FALLTHROUGH" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.core.persist.JsonSerDeser" />
|
|
|
|
<Bug pattern="UI_INHERITANCE_UNSAFE_GETRESOURCE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.server.appmaster.rpc.SliderAMPolicyProvider" />
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.server.appmaster.state.OutstandingRequest" />
|
|
|
|
<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.server.appmaster.web.SliderAMWebApp" />
|
|
|
|
<Bug pattern="LG_LOST_LOGGER_DUE_TO_WEAK_REFERENCE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.server.servicemonitor.Probe" />
|
|
|
|
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
|
|
|
|
</Match>
|
2016-12-20 13:59:58 -05:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.server.appmaster.web.rest.registry.PathEntryResource" />
|
|
|
|
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.server.appmaster.web.rest.application.actions.StopResponse" />
|
|
|
|
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.server.appmaster.state.ContainerAllocationResults" />
|
|
|
|
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.core.persist.JsonSerDeser" />
|
|
|
|
<Method name="save" />
|
|
|
|
<Bug pattern="OBL_UNSATISFIED_OBLIGATION" />
|
|
|
|
</Match>
|
2016-12-19 15:09:53 -05:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.server.services.workflow.ForkedProcessService" />
|
|
|
|
<Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.server.appmaster.state.RoleInstance"/>
|
|
|
|
<Bug pattern="UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD"/>
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.client.SliderClient" />
|
|
|
|
<Method name="actionRegistryListConfigsYarn" />
|
|
|
|
<Bug pattern="OS_OPEN_STREAM" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.client.SliderClient" />
|
|
|
|
<Method name="actionRegistryListExports" />
|
|
|
|
<Bug pattern="OS_OPEN_STREAM" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.slider.common.tools.SliderUtils" />
|
|
|
|
<Method name="getApplicationResourceInputStream" />
|
|
|
|
<Bug pattern="OS_OPEN_STREAM" />
|
|
|
|
</Match>
|
|
|
|
</FindBugsFilter>
|