Question: how tez engine works in hadoop?
Answer: Tez is a new application framework built on Hadoop Yarn that can execute complex directed acyclic graphs of general data processing tasks. ... The map output class locally sorts and partitions the data by a certain key, while the reduce input class merge-sorts its data on the same key.