YARN-7947. Capacity Scheduler intra-queue preemption can NPE for non-schedulable apps. Contributed by Eric Payne.
This commit is contained in:
parent
86b227a1fb
commit
bdd2a184d7
@ -412,7 +412,7 @@ private PriorityQueue<TempAppPerPartition> createTempAppForResCalculation(
|
||||
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
Block a user