How to extract Kerberos TGT from UserGroupInformation
If you need to view lifetime of your Kerberos ticket in Hadoop’s UserGroupInformation or see Kerberos ticket expiration date in UserGroupInformation (and do other things), you need extract Kerberos TGT from UserGroupInformation. This piece of code will be very useful for you:
READ MORE