mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-03-04 08:52:27 -05:00
add hive driver with kerberos auth support #118
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BI3QXJ on GitHub (Mar 15, 2021).
As we use customized Hive product, I have to add special driver jar into dbeaver/cloudbeaver.
when I use dbeaver, I install kerberos for windows (kfw), add custom driver jars into hive config, and add config into
<dbeaver-path>/dbeaver.inilike below then it works.but when I try to deploy cloudbeaver on ubuntu 20.04, after follow:
Adding-new-database-drivers , #259, #192
cloudbeaver/server/drivers/hive, while I need few jar files to be added, I wrotepom.xmlas:server/drivers/pom.xml, add hive item:server/bundles/io.cloudbeaver.resources.drivers.base/pugin.xml:then run
deploy/build.sh, driver.hive display as SUCCESS, but can't find driver when running serverbut hive drivers still not showing up in web GUI. need help, guys!
and another question, how could I use kerberos in hive connection.
@serge-rider commented on GitHub (Mar 18, 2021):
Disclaimer: Hive driver is one of the worst jdbc drivers ever. It is tricky.
hive:apache_hive2instead ofgeneric.The rest of configuration looks good enough.
If it won't work - please attach full error/debug log (
workspace/.metadata/.log)@BI3QXJ commented on GitHub (Mar 22, 2021):
Yes, it works, after I changed driver id to
hive:apache_hive2,and the next problem, how to make cloudbeaver connect hive with kerberos auth.
what I have try :
dbeaver.iniI install krb5-user and have it configured, then append arguments into
run-server.shlike:sampleURLin/dbeaver/plugins/org.jkiss.dbeaver.ext.hive/plugin.xmlwith my hive product url. so after create new connection, it will connect to the specific url without fill anything.my hive uri was:
I try replace openjdk with oracle jdk, but error still .
I guess maybe kerberos config part not works.
@BI3QXJ commented on GitHub (Apr 23, 2021):
I install dbeaver on the same machine, it works well, so I guess cloudbeaver may not support kerberos for so far.