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 07:07:10 -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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<FindBugsFilter>
|
|
|
|
<!-- Ignore PB Generated Code -->
|
|
|
|
<Match>
|
|
|
|
<Package name="org.apache.hadoop.yarn.proto" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.ipc\.RpcProtos.*" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<!-- 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 10:46:59 -04: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 07:07:10 -04:00
|
|
|
<Match>
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.resourcemanager\.rmapp\.attempt\.RMAppAttemptImpl.*" />
|
|
|
|
<Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
</Match>
|
|
|
|
<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 14:26:20 -04: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 07:07:10 -04: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 02:45:04 -04: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 05:55:29 -04:00
|
|
|
<Match>
|
|
|
|
<Class name="~org\.apache\.hadoop\.yarn\.server\.nodemanager\.containermanager\.loghandler\.NonAggregatingLogHandler.*" />
|
|
|
|
<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 07:07:10 -04: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>
|
|
|
|
<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" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
<!-- 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" />
|
|
|
|
</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>
|
2012-02-04 17:44:43 -05:00
|
|
|
<!-- Inconsistent sync warning - minimumAllocation is only initialized once and never changed -->
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.FifoScheduler" />
|
|
|
|
<Field name="minimumAllocation" />
|
|
|
|
<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 07:07:10 -04: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 03:44:35 -04:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer$DelegationTokenCancelThread" />
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
</Match>
|
2012-07-09 17:08:40 -04:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.yarn.YarnUncaughtExceptionHandler"/>
|
|
|
|
<Bug pattern="DM_EXIT"/>
|
|
|
|
</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 07:07:10 -04: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 00:08:25 -05:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$SchedulerEventDispatcher$EventProcessor" />
|
|
|
|
<Method name="run" />
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
</Match>
|
2012-03-05 19:52:10 -05:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.yarn.server.nodemanager.NodeManager" />
|
|
|
|
<Method name="initAndStartNodeManager" />
|
|
|
|
<Bug pattern="DM_EXIT" />
|
|
|
|
</Match>
|
2012-02-21 00:08:25 -05: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 07:07:10 -04: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 03:44:35 -04: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>
|
|
|
|
|
|
|
|
|
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 07:07:10 -04:00
|
|
|
<!-- Ignore EI_EXPOSE_REP2 in Log services -->
|
|
|
|
<Match>
|
2011-11-03 04:02:19 -04: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 07:07:10 -04: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 00:00:56 -05: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 07:07:10 -04:00
|
|
|
</FindBugsFilter>
|