HIVE-7123: Follow-up of HIVE-6367 (reviewed by Brock)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1598450 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7130 : schematool is broken for minor version upgrades (eg 0.13.x) (Thejas Nair, reviewed by Ashutosh Chauhan)

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