0

I am trying to connect to my Hive server using JDBC connection.

I've the following JAR file in my JAVA_HOME:

  • HIVEJDBC41.jar
  • hadoop-common.jar

But when I run my code jaydebeapi.connect('org.apache.hive.jdbc.HiveDriver', url)

It gives me the following error:

raise _RUNTIMEEXCEPTION.PYEXC("Class %s not found" % name)
jpype._jexception.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class org.apache.hive.jdbc.HiveDriver not found

Note: My connection needs to be using JDBC connection.

Anyone knows what I am missing?

Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
Pedro Alves
  • 1,004
  • 1
  • 21
  • 47

1 Answers1

0

There is mismatch of JDBC jar version

try hive-jdbc 2.3.7

Uday Chauhan
  • 1,071
  • 1
  • 9
  • 19