tez-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thaddeus Diamond <thaddeus.diam...@gmail.com>
Subject Expiring Held Containers with Min Held 0
Date Mon, 18 Aug 2014 15:16:47 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message