Description
Tez Shuffle Handler holds on to entire SpillRecord to better accommodate for range fetch operation. For single reduce fetch holding on to spillRecord can overwhelm memory if Index Cache is overrun. In the case of single fetch, only keep the single tez index record needed and for range fetch, keep the entire spill record in memory, but free it after it is needed.