MAPREDUCE-6201. TestNetworkedJob fails on trunk (pbacsko via rkanter)

This commit is contained in:
Robert Kanter 2017-04-06 17:44:47 -07:00
parent 95b7f1d29a
commit e7167e4a13
1 changed files with 3 additions and 0 deletions

View File

@ -381,6 +381,9 @@ public class TestNetworkedJob {
// Expected queue names depending on Capacity Scheduler queue naming
conf.setClass(YarnConfiguration.RM_SCHEDULER, CapacityScheduler.class,
CapacityScheduler.class);
// Default value is 90 - if you have low disk space,
// testNetworkedJob will fail
conf.set(YarnConfiguration.NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE, "99");
return MiniMRClientClusterFactory.create(this.getClass(), 2, conf);
}
}