Alex Loddengaard wrote:
That's the best I can do I think. Can others chime in?
Another complicating factor is that, if a node dies, reduce tasks can be stalled waiting for map data to be re-generated. So if all tasks were scheduled out of a single pool, one would need to be careful to never assign reduce tasks to all slots, since they could deadlock waiting for map data that would never be generated. A few slots should thus be held back for map re-execution. Alternately you could kill a reduce task to free a slot, but that could increase job latency considerably.
But I see no compelling reason that the scheduler couldn't handle such things. Having separate pools for map and reduce tasks has some advantages (as we've both described). And if you moved to a single pool then the task scheduler would need to take on these and perhaps other issues.
Doug
