Cannot connect to a kerberized Impala
Hello
We have a Cloudera CDH 5.1.13 cluster which is configured with kerberos. It works fine from within the cluster like hue.
But connecting from DataGrip fails.
The connection string I use is:
jdbc:impala://xxxxxx.com:21050/default;AuthMech=1;KrbRealm=MYREALM;KrbHostFQDN=xxxxxx.com;KrbServiceName=impala
Where xxxx.com is my impala server name. I try to connect from a windows 10 machine and there is no ssl.
I get this error:
[HY000][500168][Simba][ImpalaJDBCDriver][500168] Error creating login context using ticket cache: Unable to obtain Principal Name for authentication.
I searched the internet and got nothing useful. Does anyone know what is the problem ? What am I doing wrong ?
Thank you
Guy Shilo
Please sign in to leave a comment.
Could you try to look through forum thread http://community.cloudera.com/t5/Interactive-Short-cycle-SQL/impala-kerberosed-jdbc-connection-from-SQL-Workbench-on/td-p/45821 for a possible solution?