Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.9.0, 2.8.1, 3.0.0-alpha3
-
None
-
Reviewed
Description
FifoIntraQueuePreemptionPlugin#calculateUsedAMResourcesPerQueue has the following code:
Collection<FiCaSchedulerApp> runningApps = leafQueue.getApplications();
Resource amUsed = Resources.createResource(0, 0);
for (FiCaSchedulerApp app : runningApps) {
runningApps is unmodifiable but not concurrent. This caused the preemption monitor thread to crash in the RM in one of our clusters.