I think there's a bug with the deallocateTask() in
YarnTaskSchedulerService.  Lines 991 - 993 read:

            if (idleContainerTimeoutMin > 0) {

heldContainer.setContainerExpiryTime(getHeldContainerExpireTime(currentTime));
            }

I think it should be *>=* because if the min is 0 and max is, say, 10 you
still want to get a random number between 0 and 10.

Thanks,
Thad

Reply via email to