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:
Sunil G 2018-02-21 14:35:57 +05:30
parent 14ddac3174
commit d9d8fa1d3a
1 changed files with 1 additions and 1 deletions

View File

@ -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());