HIVE-6888 : Hive leaks MapWork objects via Utilities::gWorkMap (Gunther Hagleitner, reviewed by Vikram Dixit K and Sergey Shelukhin)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1586798 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7210: NPE with "No plan file found" when running Driver instances on multiple threads (Jason Dere, reviewed by Gunther Hagleitner/Vikram Dixit)

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