YARN-7355. TestDistributedShell should be scheduler agnostic. (Contributed by Haibo)
This commit is contained in:
parent
0799fde35e
commit
6b7c87c945
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user