From f9ab7158800b881b6e63b6203d156c06753522cf Mon Sep 17 00:00:00 2001 From: Christopher Douglas Date: Mon, 20 May 2013 05:46:43 +0000 Subject: [PATCH] YARN-568. Followup; remove an unused field added to Allocation git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1484375 13f79535-47bb-0310-9956-ffa450edef68 --- .../yarn/server/resourcemanager/scheduler/Allocation.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/Allocation.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/Allocation.java index 8905504860..c03e31d8a3 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/Allocation.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/Allocation.java @@ -15,7 +15,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.apache.hadoop.yarn.server.resourcemanager.scheduler; import java.util.List; @@ -29,9 +28,6 @@ import org.apache.hadoop.yarn.factories.RecordFactory; import org.apache.hadoop.yarn.factory.providers.RecordFactoryProvider; public class Allocation { - - private final RecordFactory recordFactory = - RecordFactoryProvider.getRecordFactory(null); final List containers; final Resource resourceLimit; @@ -77,5 +73,5 @@ public class Allocation { public List getResourcePreemptions() { return fungibleResources; } - + }