MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00: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.
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<FindBugsFilter>
|
|
|
|
|
<!-- Ignore PB Generated Code -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Package name="org.apache.hadoop.yarn.proto" />
|
|
|
|
|
</Match>
|
2016-07-19 22:08:25 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Package name="org.apache.hadoop.yarn.federation.proto" />
|
|
|
|
|
</Match>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.ipc\.RpcProtos.*" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2013-06-13 15:54:38 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.service.AbstractService" />
|
|
|
|
|
<Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
<!-- Ignore unchecked Event casts -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.nodemanager\.containermanager\.application\.ApplicationImpl.*" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.nodemanager\.containermanager\.container\.ContainerImpl.*" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.nodemanager\.containermanager\.localizer\.LocalizedResource.*" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.nodemanager\.containermanager\.localizer\.ResourceLocalizationService.*" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.ContainersMonitorImpl" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
2011-09-25 14:46:59 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.resourcemanager\.rmapp\.RMAppImpl.*" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.resourcemanager\.rmapp\.attempt\.RMAppAttemptImpl.*" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
2015-03-06 05:14:41 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptMetrics" />
|
2015-03-03 19:49:01 +00:00
|
|
|
|
<Method name="incNumAllocatedContainers"/>
|
|
|
|
|
<Bug pattern="VO_VOLATILE_INCREMENT" />
|
|
|
|
|
</Match>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl$AppRejectedTransition" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.resourcemanager\.rmcontainer\.RMContainerImpl.*" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.resourcemanager\.rmnode\.RMNodeImpl.*" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
2011-09-08 18:26:20 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.resourcemanager\.RMAppManager.*" />
|
|
|
|
|
<Method name="handle" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.resourcemanager\.scheduler\.capacity\.CapacityScheduler.*" />
|
|
|
|
|
<Method name="handle" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.resourcemanager\.scheduler\.fifo\.FifoScheduler.*" />
|
|
|
|
|
<Method name="handle" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
2011-10-28 06:45:04 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.nodemanager\.containermanager\.logaggregation\.LogAggregationService.*" />
|
|
|
|
|
<Method name="handle" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
2011-10-31 09:55:29 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.nodemanager\.containermanager\.loghandler\.NonAggregatingLogHandler.*" />
|
|
|
|
|
<Method name="handle" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
2015-10-26 09:53:51 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainersLauncher" />
|
|
|
|
|
<Method name="handle" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
2011-10-31 09:55:29 +00:00
|
|
|
|
|
2018-07-05 17:42:39 +00:00
|
|
|
|
<!-- Ignore exposed internal representations -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.api.records.Resource" />
|
|
|
|
|
<Method name="getResources" />
|
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptMetrics" />
|
|
|
|
|
<Method name="getLocalityStatistics" />
|
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2015-08-18 11:31:45 +00:00
|
|
|
|
<!-- Object cast is based on the event type -->
|
|
|
|
|
<Match>
|
2016-03-28 22:50:03 +00:00
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.timelineservice.NMTimelinePublisher" />
|
|
|
|
|
<Method name="publishApplicationEvent" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.timelineservice.NMTimelinePublisher" />
|
|
|
|
|
<Method name="publishLocalizationEvent" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
2015-08-18 11:31:45 +00:00
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
|
|
<Match>
|
2015-10-23 00:56:32 +00:00
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher$TimelineV2EventHandler" />
|
2015-08-18 11:31:45 +00:00
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
|
|
|
|
|
<!-- Ignore intentional switch fallthroughs -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerImpl" />
|
|
|
|
|
<Method name="finished" />
|
|
|
|
|
<Bug pattern="SF_SWITCH_FALLTHROUGH" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer" />
|
|
|
|
|
<Method name="localizeFiles" />
|
|
|
|
|
<Bug pattern="SF_SWITCH_FALLTHROUGH" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
|
|
<!-- Ignore some irrelevant serialization warnings -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceRetentionSet$LRUComparator" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
|
|
|
|
</Match>
|
2016-11-15 09:01:07 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.client.api.impl.AMRMClientImpl$ProfileCapabilityComparator" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
|
|
|
|
</Match>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.exceptions.impl.pb.YarnRemoteExceptionPBImpl" />
|
|
|
|
|
<Field name="builder" />
|
|
|
|
|
<Bug pattern="SE_BAD_FIELD" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.util\.BuilderUtils.*" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.resource.Priority$Comparator" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
2015-04-15 16:56:32 +00:00
|
|
|
|
</Match>
|
2015-04-17 20:36:46 +00:00
|
|
|
|
<Match>
|
2015-04-15 16:56:32 +00:00
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.FifoComparator" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
</Match>
|
2015-04-23 17:47:15 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.FairOrderingPolicy$FairComparator" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
2017-11-03 00:39:23 +00:00
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies.DominantResourceFairnessPolicy$DominantResourceFairnessComparator" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies.DominantResourceFairnessPolicy$DominantResourceFairnessComparator2" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies.DominantResourceFairnessPolicy$DominantResourceFairnessComparatorN" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
2015-04-23 17:47:15 +00:00
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.CompoundComparator" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
|
|
|
|
</Match>
|
2016-01-12 00:44:28 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.PriorityComparator" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
|
|
|
|
</Match>
|
2016-01-29 20:22:06 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.RecoveryComparator" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
|
|
|
|
</Match>
|
2023-08-05 08:33:35 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.globalpolicygenerator.policygenerator.LoadBasedGlobalPolicy$SortByDescendingLoad" />
|
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
|
|
|
|
</Match>
|
2013-07-24 03:41:03 +00:00
|
|
|
|
<!-- Ignore some irrelevant class name warning -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.api.records.SerializedException" />
|
|
|
|
|
<Bug pattern="NM_CLASS_NOT_EXCEPTION" />
|
|
|
|
|
</Match>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
|
|
|
|
|
<!-- Inconsistent sync warning - only start() is synchronized-->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.LogAggregationService" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2015-03-17 19:31:15 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationFileLoaderService" />
|
|
|
|
|
<Field name="allocFile" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2014-05-22 05:32:26 +00:00
|
|
|
|
<!-- Inconsistent sync warning - minimumAllocation is only initialized once and never changed -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler" />
|
|
|
|
|
<Field name="minimumAllocation" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2015-03-17 19:31:15 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSSchedulerNode" />
|
|
|
|
|
<Method name="reserveResource" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
<!-- Inconsistent sync warning - reinitialize read from other queue does not need sync-->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue" />
|
|
|
|
|
<Or>
|
|
|
|
|
<Field name="absoluteCapacity" />
|
|
|
|
|
<Field name="absoluteMaxCapacity" />
|
|
|
|
|
<Field name="acls" />
|
|
|
|
|
<Field name="capacity" />
|
|
|
|
|
<Field name="maxApplications" />
|
|
|
|
|
<Field name="maxApplicationsPerUser" />
|
|
|
|
|
<Field name="maximumCapacity" />
|
|
|
|
|
<Field name="state" />
|
|
|
|
|
<Field name="userLimit" />
|
|
|
|
|
<Field name="userLimitFactor" />
|
2013-07-22 23:49:20 +00:00
|
|
|
|
<Field name="maxAMResourcePerQueuePercent" />
|
2015-01-14 01:32:07 +00:00
|
|
|
|
<Field name="lastClusterResource" />
|
2016-01-08 23:51:10 +00:00
|
|
|
|
<Field name="pendingOrderingPolicy" />
|
|
|
|
|
<Field name="pendingOPForRecoveredApps" />
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
</Or>
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.ParentQueue" />
|
|
|
|
|
<Or>
|
|
|
|
|
<Field name="absoluteCapacity" />
|
|
|
|
|
<Field name="absoluteMaxCapacity" />
|
|
|
|
|
<Field name="acls" />
|
|
|
|
|
<Field name="capacity" />
|
|
|
|
|
<Field name="maximumCapacity" />
|
|
|
|
|
<Field name="state" />
|
|
|
|
|
</Or>
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2014-10-16 01:33:06 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.AbstractCSQueue" />
|
|
|
|
|
<Or>
|
|
|
|
|
<Field name="absoluteCapacity" />
|
|
|
|
|
<Field name="absoluteMaxCapacity" />
|
|
|
|
|
<Field name="acls" />
|
|
|
|
|
<Field name="capacity" />
|
|
|
|
|
<Field name="maximumCapacity" />
|
|
|
|
|
<Field name="state" />
|
|
|
|
|
<Field name="labelManager" />
|
|
|
|
|
<Field name="defaultLabelExpression" />
|
|
|
|
|
<Field name="accessibleLabels" />
|
|
|
|
|
<Field name="absoluteNodeLabelCapacities" />
|
|
|
|
|
<Field name="reservationsContinueLooking" />
|
2014-11-07 18:39:37 +00:00
|
|
|
|
<Field name="absoluteCapacityByNodeLabels" />
|
2015-02-12 22:58:09 +00:00
|
|
|
|
<Field name="authorizer" />
|
|
|
|
|
<Field name="parent" />
|
2014-10-16 01:33:06 +00:00
|
|
|
|
</Or>
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2014-03-18 02:53:20 +00:00
|
|
|
|
<!-- Inconsistent sync warning - scheduleAsynchronously is only initialized once and never changed -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler" />
|
|
|
|
|
<Field name="scheduleAsynchronously" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2015-03-17 19:31:15 +00:00
|
|
|
|
<!-- Inconsistent sync warning - updateInterval is only initialized once and never changed -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler" />
|
|
|
|
|
<Field name="updateInterval" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
|
|
|
|
<!-- Inconsistent sync warning - callDurationMetrics is only initialized once and never changed -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler" />
|
|
|
|
|
<Field name="fsOpDurations" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2014-08-08 14:17:54 +00:00
|
|
|
|
|
2013-11-14 17:53:25 +00:00
|
|
|
|
<!-- Inconsistent sync warning - numRetries is only initialized once and never changed -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore" />
|
|
|
|
|
<Field name="numRetries" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2016-01-20 22:48:10 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore" />
|
2016-09-02 04:23:57 +00:00
|
|
|
|
<Or>
|
|
|
|
|
<Field name="resourceManager"/>
|
|
|
|
|
<Field name="baseEpoch"/>
|
|
|
|
|
</Or>
|
2016-01-20 22:48:10 +00:00
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2013-02-05 00:26:16 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer"/>
|
|
|
|
|
<Field name="renewalTimer" />
|
|
|
|
|
<Bug code="IS"/>
|
|
|
|
|
</Match>
|
2013-06-13 15:54:38 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.client.NMClientImpl$NMCommunicator"/>
|
|
|
|
|
<Field name="containerManager" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC"/>
|
|
|
|
|
</Match>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
|
2016-11-17 03:39:25 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.federation.policies.RouterPolicyFacade"/>
|
|
|
|
|
<Or>
|
|
|
|
|
<Field name="globalConfMap"/>
|
|
|
|
|
<Field name="globalPolicyMap"/>
|
|
|
|
|
</Or>
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC"/>
|
|
|
|
|
</Match>
|
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
<!-- Don't care if putIfAbsent value is ignored -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Package name="org.apache.hadoop.yarn.factories.impl.pb" />
|
|
|
|
|
<Bug pattern="RV_RETURN_VALUE_OF_PUTIFABSENT_IGNORED" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
|
|
<!-- Intended System.exit calls -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.webapp.Dispatcher$1" />
|
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.webapp.WebApps$Builder" />
|
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
|
</Match>
|
2011-10-28 07:44:35 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer$DelegationTokenCancelThread" />
|
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
|
</Match>
|
2012-07-09 21:08:40 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.YarnUncaughtExceptionHandler"/>
|
|
|
|
|
<Bug pattern="DM_EXIT"/>
|
|
|
|
|
</Match>
|
2014-12-22 11:06:37 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.event.AsyncDispatcher$2"/>
|
|
|
|
|
<Method name="run" />
|
|
|
|
|
<Bug pattern="DM_EXIT"/>
|
|
|
|
|
</Match>
|
2012-07-09 21:08:40 +00:00
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
<!-- AsyncDispatcher will kill the process if there is an error dispatching -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.event.AsyncDispatcher" />
|
|
|
|
|
<Method name="dispatch" />
|
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
|
</Match>
|
2012-02-21 05:08:25 +00:00
|
|
|
|
<Match>
|
2016-05-17 06:22:01 +00:00
|
|
|
|
<Class name="org.apache.hadoop.yarn.event.EventDispatcher$EventProcessor" />
|
2012-02-21 05:08:25 +00:00
|
|
|
|
<Method name="run" />
|
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
|
</Match>
|
2012-03-06 00:52:10 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.NodeManager" />
|
|
|
|
|
<Method name="initAndStartNodeManager" />
|
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
|
</Match>
|
2023-06-12 22:18:43 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.globalpolicygenerator.GlobalPolicyGenerator" />
|
|
|
|
|
<Medhod name="startGPG" />
|
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
|
</Match>
|
2012-02-21 05:08:25 +00:00
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
<!-- Ignore heartbeat exception when killing localizer -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer" />
|
|
|
|
|
<Method name="localizeFiles" />
|
|
|
|
|
<Bug pattern="DE_MIGHT_IGNORE" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2011-10-28 07:44:35 +00:00
|
|
|
|
<!-- Ignore EI_EXPOSE_REP in PolicyProviders -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.security.authorize.RMPolicyProvider" />
|
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.security.authorize.NMPolicyProvider" />
|
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
|
</Match>
|
2020-03-11 14:18:08 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.router.security.authorize.RouterPolicyProvider" />
|
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
|
</Match>
|
2011-10-28 07:44:35 +00:00
|
|
|
|
|
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
<!-- Ignore EI_EXPOSE_REP2 in Log services -->
|
|
|
|
|
<Match>
|
2011-11-03 08:02:19 +00:00
|
|
|
|
<Class name="org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogValue" />
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
<Bug pattern="EI_EXPOSE_REP2" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.AppLogAggregatorImpl" />
|
|
|
|
|
<Bug pattern="EI_EXPOSE_REP2" />
|
|
|
|
|
</Match>
|
2012-11-18 05:00:56 +00:00
|
|
|
|
|
2012-12-18 22:58:32 +00:00
|
|
|
|
<!-- /proc/mounts is always in the same place -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler" />
|
|
|
|
|
<Method name="parseMtab" />
|
|
|
|
|
<Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2013-02-07 20:21:38 +00:00
|
|
|
|
<!-- rmClient can be ignored as only code blocks outside of rpc calls need to be synchronized -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.client.AMRMClientImpl" />
|
|
|
|
|
<Field name="rmClient" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2013-04-03 05:00:28 +00:00
|
|
|
|
<!-- Null pointer exception needs to be ignored here as this is never going to occur. -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.LocalResourcesTrackerImpl" />
|
|
|
|
|
<Method name="decrementFileCountForLocalCacheDirectory" />
|
|
|
|
|
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
|
|
<!-- Null pointer exception needs to be ignored here as this is never going to occur. -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.LocalResourcesTrackerImpl" />
|
|
|
|
|
<Method name="getPathForLocalization" />
|
|
|
|
|
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2013-04-11 02:08:11 +00:00
|
|
|
|
<!-- This type cast problem will never occur. -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.LocalResourcesTrackerImpl" />
|
|
|
|
|
<Method name="handle" />
|
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2013-05-10 21:49:28 +00:00
|
|
|
|
<!-- Ignore SerializedException does not extend Exception -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.api.records.SerializedException" />
|
|
|
|
|
<Bug pattern="NM_CLASS_NOT_EXCEPTION" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2013-12-03 19:28:02 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2014-02-10 22:50:15 +00:00
|
|
|
|
|
|
|
|
|
<!-- Multithreaded correctness warnings need to be ignored here as this is for creating the singleton.-->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.security.authorize.RMPolicyProvider"/>
|
|
|
|
|
<Bug pattern="DC_DOUBLECHECK" />
|
|
|
|
|
</Match>
|
2014-08-21 21:38:16 +00:00
|
|
|
|
|
2018-07-24 07:39:17 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.security.authorize.NMPolicyProvider"/>
|
|
|
|
|
<Bug pattern="DC_DOUBLECHECK" />
|
|
|
|
|
</Match>
|
2014-08-21 21:38:16 +00:00
|
|
|
|
<!-- ApplicationClassLoader is deprecated and moved to hadoop-common; ignore
|
|
|
|
|
warning on the identical name as it should be removed later -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.util.ApplicationClassLoader"/>
|
|
|
|
|
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS"/>
|
|
|
|
|
</Match>
|
2014-09-29 14:12:18 +00:00
|
|
|
|
|
|
|
|
|
<!-- It is only changed on re-initialization the warnings are for access from a test function. -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue" />
|
|
|
|
|
<Field name="reservationsContinueLooking" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.ParentQueue" />
|
|
|
|
|
<Field name="reservationsContinueLooking" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2014-10-08 19:54:37 +00:00
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
This code is meant to deserialize this way...subclasses of will need to
|
|
|
|
|
instantiate their own JsonSerDeser instances if they want to deserialize.
|
|
|
|
|
-->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.registry.client.binding.JsonSerDeser"/>
|
|
|
|
|
<Bug pattern="UI_INHERITANCE_UNSAFE_GETRESOURCE"/>
|
|
|
|
|
</Match>
|
|
|
|
|
|
2014-12-22 11:06:37 +00:00
|
|
|
|
<!-- Ignore the false alarms on DM_DEFAULT_ENCODING (encoding already set) -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogReader" />
|
|
|
|
|
<Bug pattern="DM_DEFAULT_ENCODING" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2014-12-24 02:23:57 +00:00
|
|
|
|
<!-- Ignore EI_EXPOSE_REP2 in timeline service -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.timeline.util.LeveldbUtils$KeyParser" />
|
|
|
|
|
<Bug pattern="EI_EXPOSE_REP2" />
|
|
|
|
|
</Match>
|
2014-12-24 04:32:36 +00:00
|
|
|
|
|
|
|
|
|
<!-- Ignore unrelated RV_RETURN_VALUE_IGNORED_BAD_PRACTICE warnings. No need to wait for result from executor service -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainersLauncher" />
|
|
|
|
|
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.sharedcache.SharedCacheUploadService" />
|
|
|
|
|
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
|
|
|
|
|
</Match>
|
2014-12-29 17:59:35 +00:00
|
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicationAttempt" />
|
|
|
|
|
<Field name="queue" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2015-03-17 19:31:15 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler" />
|
|
|
|
|
<Field name="allocConf" />
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2014-12-29 17:59:35 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerNode" />
|
|
|
|
|
<Field name="numContainers" />
|
|
|
|
|
<Bug pattern="VO_VOLATILE_INCREMENT" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.AbstractCSQueue" />
|
|
|
|
|
<Field name="numContainers" />
|
|
|
|
|
<Bug pattern="VO_VOLATILE_INCREMENT" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.ParentQueue" />
|
|
|
|
|
<Field name="numApplications" />
|
|
|
|
|
<Bug pattern="VO_VOLATILE_INCREMENT" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler" />
|
|
|
|
|
<Method name="recoverContainersOnNode" />
|
|
|
|
|
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" />
|
|
|
|
|
</Match>
|
2015-04-18 19:45:38 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler" />
|
|
|
|
|
<Or>
|
|
|
|
|
<Field name="rmContext" />
|
|
|
|
|
<Field name="applications" />
|
2016-08-05 17:27:34 +00:00
|
|
|
|
<Field name="activitiesManager" />
|
2015-04-18 19:45:38 +00:00
|
|
|
|
</Or>
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
|
|
|
|
</Match>
|
2015-05-09 02:08:02 +00:00
|
|
|
|
<!-- Ignore SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING warnings for Timeline Phoenix storage. -->
|
|
|
|
|
<!-- Since we're using dynamic columns, we have to generate SQL statements dynamically -->
|
|
|
|
|
<Match>
|
2015-08-17 23:48:58 +00:00
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.timelineservice.storage.PhoenixOfflineAggregationWriterImpl" />
|
2015-05-09 02:08:02 +00:00
|
|
|
|
<Or>
|
|
|
|
|
<Method name="storeEntityVariableLengthFields" />
|
2015-08-17 23:48:58 +00:00
|
|
|
|
<Method name="writeAggregatedEntity" />
|
2015-05-09 02:08:02 +00:00
|
|
|
|
</Or>
|
2015-08-17 23:48:58 +00:00
|
|
|
|
<Bug pattern="SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" />
|
2015-05-09 02:08:02 +00:00
|
|
|
|
</Match>
|
2015-04-08 18:02:06 +00:00
|
|
|
|
|
2023-06-05 04:04:40 +00:00
|
|
|
|
<!-- Following fields are used in ErrorsAndWarningsBlock, which is not a part of analysis of findbugs -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.util.Log4jWarningErrorMetricsAppender$Element" />
|
|
|
|
|
<Or>
|
|
|
|
|
<Field name="count" />
|
|
|
|
|
<Field name="timestampSeconds" />
|
|
|
|
|
</Or>
|
|
|
|
|
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2016-06-07 22:59:13 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.api.records.ResourceRequest" />
|
|
|
|
|
<Method name="equals" />
|
|
|
|
|
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" />
|
|
|
|
|
</Match>
|
2015-12-16 21:19:40 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Package name="org.apache.hadoop.yarn.api.records.impl.pb" />
|
|
|
|
|
<Bug pattern="NP_BOOLEAN_RETURN_NULL" />
|
|
|
|
|
</Match>
|
2016-08-05 17:27:34 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.ActivityNodeInfo"/>
|
|
|
|
|
<Or>
|
|
|
|
|
<Field name="allocationState" />
|
|
|
|
|
<Field name="diagnostic" />
|
|
|
|
|
<Field name="name" />
|
|
|
|
|
<Field name="requestPriority" />
|
|
|
|
|
<Field name="appPriority" />
|
|
|
|
|
</Or>
|
|
|
|
|
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
|
|
|
|
|
</Match>
|
2016-09-20 07:03:07 +00:00
|
|
|
|
|
|
|
|
|
<!-- Ignore VO_VOLATILE_INCREMENT, they will be protected by writeLock -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue$User" />
|
|
|
|
|
<Or>
|
|
|
|
|
<Field name="pendingApplications" />
|
|
|
|
|
<Field name="activeApplications" />
|
|
|
|
|
</Or>
|
|
|
|
|
<Bug pattern="VO_VOLATILE_INCREMENT" />
|
|
|
|
|
</Match>
|
2016-11-07 18:14:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Ignore false alert for UL_UNRELEASED_LOCK_EXCEPTION_PATH -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler$ResourceCommitterService"/>
|
|
|
|
|
<Method name="run" />
|
|
|
|
|
<Bug pattern="UL_UNRELEASED_LOCK_EXCEPTION_PATH" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2017-05-31 20:21:09 +00:00
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.amrmproxy.FederationInterceptor" />
|
2017-08-07 23:58:29 +00:00
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
2017-05-31 20:21:09 +00:00
|
|
|
|
</Match>
|
|
|
|
|
|
2017-08-04 15:42:34 +00:00
|
|
|
|
<!-- Ignore MS_EXPOSE_REP -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.util.resource.ResourceUtils" />
|
|
|
|
|
<Method name="getResourceTypesArray" />
|
|
|
|
|
<Bug pattern="MS_EXPOSE_REP" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.util.resource.ResourceUtils" />
|
|
|
|
|
<Method name="getResourceNamesArray" />
|
|
|
|
|
<Bug pattern="MS_EXPOSE_REP" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2017-11-23 02:24:20 +00:00
|
|
|
|
<!-- EQ_OVERRIDING_EQUALS_NOT_SYMMETRIC -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.AssignedGpuDevice" />
|
|
|
|
|
<Method name="equals" />
|
|
|
|
|
<Bug pattern="EQ_OVERRIDING_EQUALS_NOT_SYMMETRIC" />
|
|
|
|
|
</Match>
|
2018-01-18 22:10:30 +00:00
|
|
|
|
|
|
|
|
|
<!-- Null pointer exception needs to be ignored here as Findbugs doesn't properly detect code logic -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.placement.SingleConstraintAppPlacementAllocator" />
|
|
|
|
|
<Method name="validateAndSetSchedulingRequest" />
|
|
|
|
|
<Bug pattern="NP_NULL_ON_SOME_PATH" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2018-04-04 03:52:35 +00:00
|
|
|
|
<!-- Expose the reference to avoid performance overhead -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.api.records.Resource" />
|
|
|
|
|
<Method name="getResources" />
|
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
|
</Match>
|
|
|
|
|
|
2019-04-13 01:27:41 +00:00
|
|
|
|
<!-- The called method signature is String emptyToNull(@Nullable String string) in guava 27, so this should be ignored -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.NodeHealthCheckerService"/>
|
|
|
|
|
<Method name="getHealthReport" />
|
|
|
|
|
<Bug pattern="NP_NULL_PARAM_DEREF"/>
|
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
|
|
<!-- The variable is not used, but it's defined for the document model. -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.timelineservice.documentstore.collection.document.entity.TimelineEventSubDoc"/>
|
|
|
|
|
<Method name="setValid" />
|
|
|
|
|
<Bug pattern="URF_UNREAD_FIELD"/>
|
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
|
|
<!-- The variable is not used, but it's defined for the document model. -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.timelineservice.documentstore.collection.document.entity.TimelineMetricSubDoc"/>
|
|
|
|
|
<Method name="setValid" />
|
|
|
|
|
<Bug pattern="URF_UNREAD_FIELD"/>
|
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
|
|
<!-- The called method signature is public boolean set(@Nullable V value) in guava 27, so this should be ignored -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore$UpdateAppTransition"/>
|
|
|
|
|
<Method name="transition" />
|
|
|
|
|
<Bug pattern="NP_NONNULL_PARAM_VIOLATION"/>
|
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
|
|
<!-- The called method signature is public boolean set(@Nullable V value) in guava 27, so this should be ignored -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler"/>
|
|
|
|
|
<Method name="updateApplicationPriority" />
|
|
|
|
|
<Bug pattern="NP_NONNULL_PARAM_VIOLATION"/>
|
|
|
|
|
</Match>
|
|
|
|
|
|
2019-06-26 15:53:14 +00:00
|
|
|
|
<!-- Device files are always under /dev in production, but it's necessary to override in tests -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.com.nec.NECVEPlugin"/>
|
|
|
|
|
<Method name="getDevices" />
|
|
|
|
|
<Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME" />
|
|
|
|
|
</Match>
|
2020-07-22 04:40:20 +00:00
|
|
|
|
|
|
|
|
|
<!-- Suppress warning about anonymous class for mocking. -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.timelineservice\.reader\.TestTimelineReaderWebServicesHBaseStorage.*" />
|
|
|
|
|
<Bug pattern="UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS" />
|
|
|
|
|
</Match>
|
2020-08-28 15:09:31 +00:00
|
|
|
|
|
|
|
|
|
<!-- Generated files from JSON schema -->
|
|
|
|
|
<Match>
|
|
|
|
|
<Package name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.placement.schema" />
|
|
|
|
|
</Match>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
</FindBugsFilter>
|