HIVE-8728: Fix ptf.q determinism (Jimmy via Xuefu)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1636885 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8718: Refactoring: move mapLocalWork field from MapWork to BaseWork (Reviewed by Szehon)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1636888 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8736 : add ordering to cbo_correctness to make result consistent (Sergey Shelukhin, reviewed by Laljo John Pullokkaran)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1636918 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8733: HiveServer2 dynamic service discovery not picking correct IP address when hive.server2.thrift.bind.host is not set (Vaibhav Gumashta reviewed by Thejas Nair)

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