Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Kerberos cache file randomly disappearing from /tmp

Kerberos cache file randomly disappearing from /tmp

New Contributor

Hi everyone,

 

I face a strange problem that happens quite randomly:

- Some of our Airflow DAGs return with the error: 

 

ERROR - Could not start SASL: b'Error in sasl_client_start (-1) SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.  Minor code may provide more information (No Kerberos credentials available (default cache: /tmp/krb5cc_{Uid}

 

 - If at the same time the 'klist' command is run. It returns:

 

klist: No credentials cache found (filename: /tmp/krb5cc_{Uid}

 

and there is not krb5cc_{Uid} file in /tmp

 

Has anyone run into something similar?

1 REPLY 1
Highlighted

Re: Kerberos cache file randomly disappearing from /tmp

Super Collaborator

@nkim When you said randomly does this mean it's working sometimes without any manual intervention. 

The klist command showing there there is no credentials found, have you checked if some process or software is deleting this "kdestroy" periodically?

 

Else KRB trace can a good start here. 

Don't have an account?
Coming from Hortonworks? Activate your account here