Quantcast
Viewing all articles
Browse latest Browse all 114

Cannot connect to Impala/Hive. Kerberos

Hi gents,

First of all let me notice that I can successfully connect to Impala/Hive using DB Visualizer or to Hive using Oracle SQL Developer (it allows only Hive connections)

so it's not a problem with network, passwords, cluster itself, java, permissions etc.

When I'm trying to set up Ecosystem - I'm able to connect to CDH 5.5 and fetch configuration.

Image may be NSFW.
Clik here to view.

But after that I cannot connect with enabled Kerberos.

More surprisingly I can activate Ecosystem without enabling Kerberos Security but I cannot connect to Impala/Hive by specifying jdbc string.

Image may be NSFW.
Clik here to view.

I'm using jdbc string in the same form as I use for DB Visualizer

jdbc:impala://<host_XXX>:21050;AuthMech=1;KrbRealm=<DOMAIN>;KrbServiceName=impala;KrbHostFQDN=<host_XXX>.<DOMAIN>;

jdbc:hive2://<host_YYY>:10000;AuthMech=1;KrbRealm=<DOMAIN>;KrbServiceName=hive;KrbHostFQDN=<host_YYY>.<DOMAIN>;

Please note that KrbHostFQDN is different for Impala and Hive.

Anyway, I cannot check credentials with any of them on "Ecosystem Configuration" Screen.

Let me know how to configure credentials for Kerberos.

Thanks


Viewing all articles
Browse latest Browse all 114

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>