AnsweredAssumed Answered

Cannot connect to HiveServer1 with JDBC driver

Question asked by barredator on Aug 5, 2014
Latest reply on Aug 8, 2014 by snelson
Hi! I'm trying to connect to hive1 instead of hive server 2, but I get this message:

    java.lang.ClassNotFoundException: org.apache.hive.jdbc.HiveDriver

This is my driver name: `private static String driverName = "org.apache.hive.jdbc.HiveDriver";`
And this is my connection command:
`Connection con = DriverManager.getConnection("jdbc:hive://localhost:10000/default", "","");`

Do you know what might be happening?
Thank you