It seems like there is a "newInstance" method call that is failing. Since
it is the TextInputFormat class that's failing to construct, it seems like
a version problem, classpath problem, or the class has been redefined
somewhere.
The paths you've provided, could you verify the existence and accessibility
of these paths? Also, have you tried removing those properties and seeing
if that works?
If you check your HS2 logs (/var/log/hive/hive-server2.log), you should
have a message that provides the classpath of HS2 as it boots up. It
usually takes on the form "STARTUP_MSG: classpath = ". Could you please
provide that classpath? Also, the HS2 logs should have the full exception
of which you are describing with a stack trace. Could you provide that as
well?
-Abe