HIVE-6786 Off by one error in ORC PPD (Prasanth J via Sergey Shelukhin)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1583793 13f79535-47bb-0310-9956-ffa450edef68
HIVE-6789 : HiveStatement client transport lock should unlock in finally block. (Vaibhav Gumashta via Thejas Nair)

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