I am attempting to use the Oozie Java API's AuthOozieClient class to run a workflow. The cluster I'm using is Kerberos-enabled and I must authenticate before getting a valid connection. I can't seem to figure out how to authenticate with Kerberos and I get the following error:
IO_ERROR : java.io.IOException: Error while connecting Oozie server. No of retries = 1. Exception = Could not authenticate, GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)
I know I have connectivity to the cluster, and I do have an active keytab on the cluster.