YARN-10574. Fix the FindBugs warning introduced in YARN-10506. Contributed by Gergely Pollak
This commit is contained in:
parent
97f843de3a
commit
acea862d59
|
@ -3387,8 +3387,7 @@ public class CapacityScheduler extends
|
||||||
+ "which does not exist " + parentQueueName);
|
+ "which does not exist " + parentQueueName);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parentQueue != null &&
|
if (conf.isAutoCreateChildQueueEnabled(parentQueue.getQueuePath())) {
|
||||||
conf.isAutoCreateChildQueueEnabled(parentQueue.getQueuePath())) {
|
|
||||||
// Case 1: Handle ManagedParentQueue
|
// Case 1: Handle ManagedParentQueue
|
||||||
AutoCreatedLeafQueue autoCreatedLeafQueue = null;
|
AutoCreatedLeafQueue autoCreatedLeafQueue = null;
|
||||||
ManagedParentQueue autoCreateEnabledParentQueue =
|
ManagedParentQueue autoCreateEnabledParentQueue =
|
||||||
|
|
Loading…
Reference in New Issue