Cloudera Labs
Provide feedback on Cloudera Labs
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Who agreed with this topic

Kerberos tickets failing to renew through java code for long running jobs

Contributor

Hi,

 

We are unable to renew kerberos user tickets from keytab using java code, while it's working with "kinit -R"

code:

 

UserGroupInformation loginUser = UserGroupInformation.getLoginUser(); loginUser.checkTGTAndReloginFromKeytab();

 

 Please help me out.

Who agreed with this topic