Created on 07-26-2016 10:37 AM - edited 09-16-2022 03:31 AM
We have an encryption zone set up around a file structure for an application. We are trying to load the files into hdfs in this encrypted zone but we continue to get the following error:
GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)
I have a valid Kerberos ticket and we opened up the KMS acls to allow all users to DECRYPT_EEK just to make sure we did not have an ACL setting wrong
Does anybody else have experience with this issue?
Created 07-27-2016 07:49 AM
Created 01-26-2018 12:00 PM
FWIW I seem to have found a solution.
I had added a call to
ugi.checkTGTAndReloginFromKeytab()
but it hadn't worked.
Later in debugging I found that that call was trying to renew the Proxy User, not the underlying principal.
I changed the call so that it would get the principal's ugi and call the same method on that and now it seems to work.
There are still outstanding questions, though, if anyone cares to investigate further: