Description
Pig hit PIG-4722 as processor.close() which clears some static thread local variables was called when SpillThread was still running the Combiner. LogicalIOProcessorRuntimeTask.java calls processor.close() before closing the inputs and outputs in both close() and cleanup() methods. Can Tez change to closing the processor after the inputs and outputs are closed?