Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

ODBC Hive, Credential cache is empty

I got error "Credential cache is empty" during ODBC Hive tests. See full error detail

ODBC Hive - Test Results

[Cloudera][Hardy] (34) Error from server: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Credential cache is empty).

Do you have any experience?

I tested different setting of MIT Kerberos in Windows e.g.:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

  • generate kerberos ticket, kinit.exe -k -t app_store.keytab app_store@HW.PROD.BDP'
  • checked kerberos tickets in cache, klist.exe
  • setup KRB5CCNAME=C:\cache\krb5cache and KRB5_CONFIG=c:\ProgramData\MIT\Kerberos5\krb5.ini

>Solution :

I see two possible issues:

  • You have to check that krb5cache is file (not directory), it is important point
  • The path to the cache have to be different for different person use this setting for variable KRB5CCNAME=%USERPROFILE%\krb5cache
  • You have to generate kerberos ticket before run ODBC Test, see
    kinit.exe -k -t "c:\Apps\MIT\Kerberos\store.keytab" store@HW.PROD.BDP
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading