Description
findbugs warning:Inconsistent synchronization of org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.allocConf
The findbugs warning found out two Unsynchronized access:
1. FairScheduler.getPlanQueues.
It looks like we should add lock at FairScheduler.getPlanQueues.
Because getPlanQueues will be called by AbstractReservationSystem.reinitialize.
2. FairScheduler.getAllocationConfiguration, which looks like ok without lock.