YARN-10347. Fix double locking in CapacityScheduler#reinitialize in branch-3.1.

This commit is contained in:
Masatake Iwasaki 2020-07-08 23:22:47 +09:00
parent d787b9373a
commit 4fa8055aa4
1 changed files with 0 additions and 1 deletions

View File

@ -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) {