You can translate the question and the replies:

How to connect Hadoop source with Kerbros configured

Hi, I'm trying to connect Hadoop using database adapter as Hive 1.1.0 for cloudera(HiveServer2) and with following url : jdbc:hive2://host:10000;databasename=default;authenticatiobmethod=kerbos;serviceprincipalname=hive/ But i am getting error: "unable to establish connection:java.sql.SQLException:[cloudera][HiveJDBCDriver](500164)Error initialized orcreated transport for authntication :peer indicated failure.Uns"upported mechanism type PLAIN. Please let me know what i'm missing

1 Answer

Hi, The error could be due to incorrect Database URI. I would suggest you to use the URI similar to the below one, ``` jdbc:hive2://host:10000/default;principal=hive/;auth=kerberos; ``` Alternatively, you can remove "auth=kerberos;" from the Database URI, instead choose "Use Kerberos" on the "Authentication" dropdown and provide other mandatory details. Hope this helps!
Denodo Team
04-05-2018 07:01:07 -0400
You must sign in to add an answer. If you do not have an account, you can register here