Use keytab instead of ticket cache?
xiphl opened this issue · 1 comments
xiphl commented
Im using impyla to connect to the hive metastore, and i noticed that everyday i received the error "Ticket Expired", and i would have to kinit everyday.
Is it possible to configure impyla to connect using a keytab instead of ticket cache?
my connection string that i gave to sqlalchemy is:
"impala://{host}/{database}?use_ssl=True&auth_mechanism=GSSAPI&ca_cert={ca_cert_location}"
the account im using is a normal user account to a Kerberoised cluster.
I admit my understanding of Kerberos is lacking here, so i welcome any clarifying explanation if i got it all wrong.
Thanks in advance!
xiphl commented
never mind, i figured my solution was to use the krbcontext Python library