generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (No Kerberos credentials available (default cache: KCM:))

This is for Hadoop eco system like HDFS, Map reduce, Hive, Hbase, Pig, sqoop,sqoop2, Avro, solr, hcatalog, impala, Oozie, Zoo Keeper and Hadoop distribution like Cloudera, Hortonwork etc.
hadoopuser
Posts: 42
Joined: Mon Jul 21, 2014 7:40 pm
Contact:

generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (No Kerberos credentials available (default cache: KCM:))

Postby hadoopuser » Sat Jan 13, 2018 1:10 am

Impala connection error for tableau while connecting to AWS server in Mac. Somehow Window machine is able to connect and find the kerberos ticket.
Able to generate valid ticket.

Code: Select all

[Cloudera][ImpalaODBC] (100) Error from the Impala Thrift API: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (No Kerberos credentials available (default cache: KCM:))

Unable to connect to the server "localhost.net". Check that the server is running and that you have access privileges to the requested database.


Guest

Re: generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (No Kerberos credentials available (default cache: KCM:))

Postby Guest » Tue Jan 16, 2018 6:25 pm

I have similar issue and its look like related to KCM. that kerberos ticket is provided to application like Tableau. Either through KCM, which is a service, or a regular file under /tmp which is specified in an environment variable like "KRB5CCNAME".

You can add below param in /etc/krb5.conf. Please set a default_ccache_name under libdefaults to point to the /temp/krb5cc_50133

default_ccache_name=FILE:/tmp/krb5cc_50133

Guest

Re: generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (No Kerberos credentials available (default cache: KCM:))

Postby Guest » Tue Jan 16, 2018 6:27 pm

I am able to generate the kerberos ticket but getting below Error.

local-MacBook-Pro:~ avirani$ klist
klist: krb5_cc_get_principal: No credentials cache file found

Guest

Re: generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (No Kerberos credentials available (default cache: KCM:))

Postby Guest » Tue Jan 16, 2018 6:32 pm

We are able to connect AWS IMPALA using tableau from Mac now. We have added below two params in krb5.conf

default_cc_type = FILE
default_ccache_name=FILE:/tmp/krb5cc_50133


hadoopuser
Posts: 42
Joined: Mon Jul 21, 2014 7:40 pm
Contact:

Re: generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (No Kerberos credentials available (default cache: KCM:))

Postby hadoopuser » Tue Jan 16, 2018 6:44 pm

Have added above two params in /etc/krb5.conf and able to connect tableau to AWS impala. Thanks All.



Return to “Hadoop and Big Data”

Who is online

Users browsing this forum: No registered users and 1 guest