Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
In method canRunAppAM(), we will get a zero vcore if there is only one vcores, and the maxAMShare is between 0 and 1 because Resources#multiply round down double to a integer by default. This potentially happens frequently when assigning a container to AM just after preemption happens since it is more likely there is only one vcore on the cluster just after preemption.