This is an automated email from the ASF dual-hosted git repository.

jeagles pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tez.git


The following commit(s) were added to refs/heads/master by this push:
     new 1fe9784  TEZ-4123. TestMRRJobsDAGApi flaky timeout - unhealthy node
1fe9784 is described below

commit 1fe978438e6cb213ac7fb70e0dde72c6e290dcae
Author: László Bodor <[email protected]>
AuthorDate: Wed Feb 12 10:06:01 2020 -0600

    TEZ-4123. TestMRRJobsDAGApi flaky timeout - unhealthy node
    
    Signed-off-by: Jonathan Eagles <[email protected]>
---
 tez-tests/src/test/java/org/apache/tez/test/MiniTezCluster.java | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tez-tests/src/test/java/org/apache/tez/test/MiniTezCluster.java 
b/tez-tests/src/test/java/org/apache/tez/test/MiniTezCluster.java
index bac0e8c..17c6885 100644
--- a/tez-tests/src/test/java/org/apache/tez/test/MiniTezCluster.java
+++ b/tez-tests/src/test/java/org/apache/tez/test/MiniTezCluster.java
@@ -89,6 +89,15 @@ public class MiniTezCluster extends MiniYARNCluster {
   }
 
   @Override
+  public void init(Configuration conf) {
+    if (conf.getFloat(YarnConfiguration.NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE,
+        YarnConfiguration.DEFAULT_NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE) == 
YarnConfiguration.DEFAULT_NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE) {
+      conf.setFloat(YarnConfiguration.NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE, 
99.0f);
+    }
+    super.init(conf);
+  }
+
+  @Override
   public void serviceInit(Configuration conf) throws Exception {
     conf.set(MRConfig.FRAMEWORK_NAME, MRConfig.YARN_TEZ_FRAMEWORK_NAME);
     // Use libs from cluster since no build is available

Reply via email to