[ https://issues.apache.org/jira/browse/SLIDER-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15063760#comment-15063760 ]
Weiwei Yang commented on SLIDER-1025: ------------------------------------- Hi Steve Thank you for reviewing this. Let me know if you want me to add more changes before committing it. Thanks. > Outstanding container request is not removed from open list even it is > already been allocated > --------------------------------------------------------------------------------------------- > > Key: SLIDER-1025 > URL: https://issues.apache.org/jira/browse/SLIDER-1025 > Project: Slider > Issue Type: Bug > Components: core > Affects Versions: Slider 0.80, Slider 0.81 > Reporter: Weiwei Yang > Priority: Critical > Fix For: Slider 0.91 > > Attachments: SLIDER-1025.001.patch > > > 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. > {code:java} > public synchronized boolean resourceRequirementsMatch(Resource resource) { > return issuedRequest != null && > issuedRequest.getCapability().equals(resource); > } > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)