I'm trying to connect to a Hive server with Jaydebeapi in python.
But I don't know which jar file I need to add to etablish my connection.
driver = 'org.apache.hive.jdbc.HiveDriver'
url_path = 'jdbc:hive2://link:port/db'
driver_arg ={'ssl':'*',
'sslTrustStore':'*',
'trustStorePassword':'*',
'transportMode':'*',
'httpPath':'*',
'hive.tez.container.size':'*',
'hive.tez.java.opts':'*'
}
jarFile = [DIR + '']
conn_hive = jaydebeapi.connect(jclassname=driver,
url=url_path,
driver_args=driver_arg,
jars=jarFile
)
If you have any idea about which
Actually, I got this error :
java.lang.NoClassDefFoundErrorPyRaisable: java.lang.NoClassDefFoundError: org/apache/hive/service/cli/thrift/TCLIService$Iface
If you have ideas or docs to share related to org.apache.hive.jdbc.HiveDriver and the jar. Thanks in advance