YARN-7947. Capacity Scheduler intra-queue preemption can NPE for non-schedulable apps. Contributed by Eric Payne.
(cherry picked from commit bdd2a184d7
)
This commit is contained in:
parent
14ddac3174
commit
d9d8fa1d3a
|
@ -412,7 +412,7 @@ public class FifoIntraQueuePreemptionPlugin
|
|||
TempUserPerPartition tmpUser = new TempUserPerPartition(
|
||||
tq.leafQueue.getUser(userName), tq.queueName,
|
||||
Resources.clone(userResourceUsage.getUsed(partition)),
|
||||
Resources.clone(userSpecificAmUsed),
|
||||
Resources.clone(amUsed),
|
||||
Resources.clone(userResourceUsage.getReserved(partition)),
|
||||
Resources.none());
|
||||
|
||||
|
|
Loading…
Reference in New Issue