HIVE-5361 - PTest2 should allow a different JVM for compilation versus execution

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1526925 13f79535-47bb-0310-9956-ffa450edef68
HIVE-5379 - NoClassDefFoundError is thrown when using lead/lag with kryo serialization (Reviewed By Ashutosh, Contributed by Navis)

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