YARN-6410. FSContext.scheduler should be final (Contributed by Yeliang Cang via Daniel Templeton)
This commit is contained in:
parent
c5a0c38d8e
commit
9d27880442
@ -29,7 +29,7 @@ public class FSContext {
|
||||
private boolean preemptionEnabled = false;
|
||||
private float preemptionUtilizationThreshold;
|
||||
private FSStarvedApps starvedApps;
|
||||
private FairScheduler scheduler;
|
||||
private final FairScheduler scheduler;
|
||||
|
||||
FSContext(FairScheduler scheduler) {
|
||||
this.scheduler = scheduler;
|
||||
|
Loading…
Reference in New Issue
Block a user