Reimplement logic of Bufferfull MR job