This is an automated email from the ASF dual-hosted git repository.
abstractdog pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/tez.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new 3771cc1 TEZ-4381: Speed up TestSecureShuffle (#180) (Mark Bathori
reviewed by Laszlo Bodor)
3771cc1 is described below
commit 3771cc13c05a04e0c74472d826769c7f00997060
Author: Mark Bathori <[email protected]>
AuthorDate: Sun Jan 30 11:48:56 2022 +0100
TEZ-4381: Speed up TestSecureShuffle (#180) (Mark Bathori reviewed by
Laszlo Bodor)
---
tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java
b/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java
index 6f1a6b4..0150e6f 100644
--- a/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java
+++ b/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java
@@ -135,6 +135,8 @@ public class TestSecureShuffle {
conf.setInt(TezRuntimeConfiguration.TEZ_RUNTIME_SHUFFLE_READ_TIMEOUT, 3 *
1000);
//set to low value so that it can detect failures quickly
conf.setInt(TezRuntimeConfiguration.TEZ_RUNTIME_SHUFFLE_FETCH_FAILURES_LIMIT,
2);
+ //reduce the maximum number of failed attempts per task
+ conf.setInt(TezConfiguration.TEZ_AM_TASK_MAX_FAILED_ATTEMPTS, 1);
conf.setLong(TezConfiguration.TEZ_AM_SLEEP_TIME_BEFORE_EXIT_MILLIS, 500);
conf.setBoolean(TezRuntimeConfiguration.TEZ_RUNTIME_SHUFFLE_USE_ASYNC_HTTP,
asyncHttp);