From e7167e4a1323cff3edfa45750b927b198c5fbc0a Mon Sep 17 00:00:00 2001 From: Robert Kanter Date: Thu, 6 Apr 2017 17:44:47 -0700 Subject: [PATCH] MAPREDUCE-6201. TestNetworkedJob fails on trunk (pbacsko via rkanter) --- .../test/java/org/apache/hadoop/mapred/TestNetworkedJob.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestNetworkedJob.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestNetworkedJob.java index 45c7d1f79d..65b9dbd880 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestNetworkedJob.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestNetworkedJob.java @@ -381,6 +381,9 @@ private MiniMRClientCluster createMiniClusterWithCapacityScheduler() // 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); } }