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 @@ private LeafQueue autoCreateLeafQueue(
|
||||
+ "which does not exist " + parentQueueName);
|
||||
}
|
||||
|
||||
if (parentQueue != null &&
|
||||
conf.isAutoCreateChildQueueEnabled(parentQueue.getQueuePath())) {
|
||||
if (conf.isAutoCreateChildQueueEnabled(parentQueue.getQueuePath())) {
|
||||
// Case 1: Handle ManagedParentQueue
|
||||
AutoCreatedLeafQueue autoCreatedLeafQueue = null;
|
||||
ManagedParentQueue autoCreateEnabledParentQueue =
|
||||
|
Loading…
Reference in New Issue
Block a user