YARN-7947. Capacity Scheduler intra-queue preemption can NPE for non-schedulable apps. Contributed by Eric Payne.

This commit is contained in:
Sunil G 2018-02-21 14:35:57 +05:30
parent 86b227a1fb
commit bdd2a184d7
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());