pfile handling to unbreak HBase tests
HIVE-3789 : Patch 3648 causing the majority of unit tests to fail on branch 0.9 (Arup Malakar via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/branch-0.9@1430427 13f79535-47bb-0310-9956-ffa450edef68
HIVE-3702 Renaming table changes table location scheme/authority

Applying patch from
https://issues.apache.org/jira/secure/attachment/12555416/HIVE-3702.2.patch.txt