YARN-8323. FairScheduler.allocConf should be declared as volatile. (Szilard Nemeth via Haibo Chen)
This commit is contained in:
parent
18201b882a
commit
c190ac2be8
@ -199,7 +199,7 @@ public class FairScheduler extends
|
||||
|
||||
private AllocationFileLoaderService allocsLoader;
|
||||
@VisibleForTesting
|
||||
AllocationConfiguration allocConf;
|
||||
volatile AllocationConfiguration allocConf;
|
||||
|
||||
// Container size threshold for making a reservation.
|
||||
@VisibleForTesting
|
||||
|
Loading…
Reference in New Issue
Block a user