HIVE-6898 : Functions in hive are failing with java.lang.ClassNotFoundException on Tez (Vikram Dixit K, reviewed by Sergey Shelukhin)

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