You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by je...@apache.org on 2020/02/12 16:06:17 UTC
[tez] branch master updated: TEZ-4123. TestMRRJobsDAGApi flaky
timeout - unhealthy node
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 <bo...@gmail.com>
AuthorDate: Wed Feb 12 10:06:01 2020 -0600
TEZ-4123. TestMRRJobsDAGApi flaky timeout - unhealthy node
Signed-off-by: Jonathan Eagles <je...@apache.org>
---
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