YARN-6131. FairScheduler: Lower update interval for faster tests. (kasha)
(cherry picked from commit 11e44bdda74b3357714f4b11a66f703d64c0f14f)
This commit is contained in:
parent
8b01d5cbba
commit
c9824c5ff6
@ -87,6 +87,7 @@ private void configureFairScheduler(YarnConfiguration conf) throws IOException {
|
||||
|
||||
conf.set(YarnConfiguration.RM_SCHEDULER, FairScheduler.class.getName());
|
||||
conf.set(FairSchedulerConfiguration.ALLOCATION_FILE, FS_ALLOC_FILE);
|
||||
conf.setLong(FairSchedulerConfiguration.UPDATE_INTERVAL_MS, 10);
|
||||
}
|
||||
|
||||
public SchedulerType getSchedulerType() {
|
||||
|
@ -88,6 +88,7 @@ public Configuration createConfiguration() {
|
||||
1024);
|
||||
conf.setInt(YarnConfiguration.RM_SCHEDULER_MAXIMUM_ALLOCATION_MB, 10240);
|
||||
conf.setBoolean(FairSchedulerConfiguration.ASSIGN_MULTIPLE, false);
|
||||
conf.setLong(FairSchedulerConfiguration.UPDATE_INTERVAL_MS, 10);
|
||||
conf.setFloat(FairSchedulerConfiguration.PREEMPTION_THRESHOLD, 0f);
|
||||
|
||||
conf.setFloat(
|
||||
|
Loading…
x
Reference in New Issue
Block a user