I activated Kerberos on my cluster and I had to modify some Oozie workflows.
I have a problem with a shell action that call a impala-shell command.
I tried to use this command:
impala-shell -k -q 'show tables;'
and I have this error:
-k requires a valid kerberos ticket but no valid kerberos ticket found.
I have also defined these two variables:
But I continue to have the same error.
Can I solve this?
Try this :
/usr/bin/kinit 'username'@'hostname' -k -t 'path'/'keytabfile'
replace the username','hostname' ,'path' and 'keytabfile' in your case