Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
Slider 0.80, Slider 0.81
-
None
Description
When there is one or more entries in open requests list, and a container is allocated for an outstanding request, it cannot be removed from openRequests list when the resource allocated is not matched with the resource requested.
public synchronized boolean resourceRequirementsMatch(Resource resource) { return issuedRequest != null && issuedRequest.getCapability().equals(resource); }
The problem here is RM doesn't always allocate matched resource for a request, it normalized the resource request with multiply of minimal allocation size, so instead of matched, it could also be fits the resource request.