YARN-10347. Fix double locking in CapacityScheduler#reinitialize in branch-3.1.
This commit is contained in:
parent
d787b9373a
commit
4fa8055aa4
|
@ -434,7 +434,6 @@ public class CapacityScheduler extends
|
|||
boolean validation) throws IOException {
|
||||
writeLock.lock();
|
||||
try {
|
||||
writeLock.lock();
|
||||
Configuration configuration = new Configuration(newConf);
|
||||
CapacitySchedulerConfiguration oldConf = this.conf;
|
||||
if (validation) {
|
||||
|
|
Loading…
Reference in New Issue