How to connect to Apache Hive using Kerberos authentication DataGrip

Answered

Hi, Is there a way how to set up connection in DataGrip to Apache Hive using Kerberos authentication?

Thank you,

Michal

1 comment
Comment actions Permalink

@ Michal Volek,

According to reference to configure JDBC Clients for Kerberos Authentication with HiveServer2, they must include the principal of HiveServer2 (principal=<HiveServer2-Kerberos-Principal>) in the JDBC connection string. For example:

jdbc:hive2://hive2_host:10000/default;principal=hive/hive2_host@YOUR-REALM.COM

 

0

Please sign in to leave a comment.