Browse Source

YARN-7355. TestDistributedShell should be scheduler agnostic. (Contributed by Haibo)

Yufei Gu 7 years ago
parent
commit
6b7c87c945

+ 0 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java

@@ -149,7 +149,6 @@ public class TestDistributedShell {
     conf.setBoolean(YarnConfiguration.SYSTEM_METRICS_PUBLISHER_ENABLED, true);
 
     conf.set(YarnConfiguration.NM_VMEM_PMEM_RATIO, "8");
-    conf.set(YarnConfiguration.RM_SCHEDULER, CapacityScheduler.class.getName());
     conf.setBoolean(YarnConfiguration.NODE_LABELS_ENABLED, true);
     conf.set("mapreduce.jobhistory.address",
         "0.0.0.0:" + ServerSocketUtil.getPort(10021, 10));