Skip to main content

ENV:-

  • SDC is integrated with CDH/CDP.
  • Kerberos is enabled.
  • start event script/end event scripts are being used to get the kerberos credentials.

ISSUE:-

  • start event script/end event scripts try to kinit and end up with following error message:-
ERROR stderr: kinit: Pre-authentication failed: Permission denied while getting initial credentials

 

Resolution:-

  • By default CDH/CDP enabled clusters has set environment variable KRB5CCNAME 
  • add following line to at the beginning of the script to unset the variable temporarily
unset KRB5CCNAME
Be the first to reply!

Reply