YARN-10347. Fix double locking in CapacityScheduler#reinitialize in branch-3.1.
(cherry picked from commit 4fa8055aa4
)
This commit is contained in:
parent
aeb3c4a362
commit
936dece92b
|
@ -455,7 +455,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