Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Not A Problem
-
2.0.0-alpha
-
None
-
None
-
None
Description
The following code should check for a 0 return value rather than crash!
int availableContainers = node.getAvailableResource().getMemory() / capability.getMemory(); // TODO: A buggy // application // with this // zero would // crash the // scheduler.