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

This commit is contained in:
Yufei Gu 2017-10-20 11:15:20 -07:00
parent 0799fde35e
commit 6b7c87c945

View File

@ -149,7 +149,6 @@ private void setupInternal(int numNodeManager, float timelineVersion)
conf.setBoolean(YarnConfiguration.SYSTEM_METRICS_PUBLISHER_ENABLED, true); conf.setBoolean(YarnConfiguration.SYSTEM_METRICS_PUBLISHER_ENABLED, true);
conf.set(YarnConfiguration.NM_VMEM_PMEM_RATIO, "8"); conf.set(YarnConfiguration.NM_VMEM_PMEM_RATIO, "8");
conf.set(YarnConfiguration.RM_SCHEDULER, CapacityScheduler.class.getName());
conf.setBoolean(YarnConfiguration.NODE_LABELS_ENABLED, true); conf.setBoolean(YarnConfiguration.NODE_LABELS_ENABLED, true);
conf.set("mapreduce.jobhistory.address", conf.set("mapreduce.jobhistory.address",
"0.0.0.0:" + ServerSocketUtil.getPort(10021, 10)); "0.0.0.0:" + ServerSocketUtil.getPort(10021, 10));