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

(cherry picked from commit 6b7c87c945)
This commit is contained in:
Yufei Gu 2017-10-20 11:15:20 -07:00
parent c3946f29e7
commit 20f5687e52
1 changed files with 0 additions and 1 deletions

View File

@ -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));