YARN-9333. TestFairSchedulerPreemption.testRelaxLocalityPreemptionWithNoLessAMInRemainingNodes fails intermittently. Contributed by Peter Bacsko

(cherry picked from commit eacbe07b56)
This commit is contained in:
Szilard Nemeth 2020-09-17 19:57:19 +02:00 committed by Akira Ajisaka
parent 3303aa5947
commit 3d715c2e4c
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

View File

@ -94,6 +94,7 @@ public void setup() throws IOException {
conf.setBoolean(FairSchedulerConfiguration.PREEMPTION, true);
conf.setFloat(FairSchedulerConfiguration.PREEMPTION_THRESHOLD, 0f);
conf.setInt(FairSchedulerConfiguration.WAIT_TIME_BEFORE_KILL, 0);
conf.setLong(FairSchedulerConfiguration.UPDATE_INTERVAL_MS, 60_000L);
setupCluster();
}