In our cluster we are seeing available memory and cores being negative.
Scenario no. 1:
In capacity scheduler the method allocateContainersToNode() checks if
there are excess reservation of containers for an application, and they are no longer needed then it calls queue.completedContainer() which causes resources being negative. And they were never assigned in the first place.
I am still looking through the code. Can somebody suggest how to simulate excess containers assignments ?