赞
踩
https://docs.arenadata.io/en/ADH/current/tutorials/security/kerberos/hive-dbeaver.html
jaas.conf
```shell
Client {
com.sun.security.auth.module.Krb5LoginModule required
doNotPrompt=true
useKeyTab=true
keyTab="C:/Users/Administrator/Downloads/hive.keytab"
useTicketCache=false
renewTGT=false
principal="hive/hive-kerberos.ru-central1.internal@ADREALM.IO";
};
dbeaver.ini
-Djava.security.krb5.conf=C:\Program Files\DBeaver\jre\conf\security\krb5.conf
-Djava.security.auth.login.config=jaas.conf
-Djavax.security.auth.useSubjectCredsOnly=false
驱动 org.apache.hive.jdbc.HiveDriver
配置 jdbc:hive2://{host}:{port}/{database}/;principal=hive/{host}@XXX.COM
端口 10000
添加lib列表:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。