HIVE-7601: Bring up tez-branch upto the API changes from TEZ-1058, TEZ-1303, TEZ-1346, TEZ-1041 (Gopal V via Vikram Dixit)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/tez@1616626 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7639: Bring tez-branch upto api changes in TEZ-1379, TEZ-1057, TEZ-1382 (Gopal V via Vikram Dixit)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/tez@1616627 13f79535-47bb-0310-9956-ffa450edef68