Преглед изворни кода

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
Christopher Douglas пре 12 година
родитељ
комит
f9ab715880

+ 1 - 5
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
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * limitations under the License.
 */
 */
-
 package org.apache.hadoop.yarn.server.resourcemanager.scheduler;
 package org.apache.hadoop.yarn.server.resourcemanager.scheduler;
 
 
 import java.util.List;
 import java.util.List;
@@ -29,9 +28,6 @@ import org.apache.hadoop.yarn.factories.RecordFactory;
 import org.apache.hadoop.yarn.factory.providers.RecordFactoryProvider;
 import org.apache.hadoop.yarn.factory.providers.RecordFactoryProvider;
 
 
 public class Allocation {
 public class Allocation {
-  
-  private final RecordFactory recordFactory =
-      RecordFactoryProvider.getRecordFactory(null);
 
 
   final List<Container> containers;
   final List<Container> containers;
   final Resource resourceLimit;
   final Resource resourceLimit;
@@ -77,5 +73,5 @@ public class Allocation {
   public List<ResourceRequest> getResourcePreemptions() {
   public List<ResourceRequest> getResourcePreemptions() {
     return fungibleResources;
     return fungibleResources;
   }
   }
-    
+
 }
 }