Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
FALCON-2325 Kerberos Service Token refresh does not happen
Author: Pallavi Nagesha Rao <pallavi.rao@im1738-x3.corp.inmobi.com>

Reviewers: @sandeepSamudrala

Closes #398 from pallavi-rao/FALCON-2325 and squashes the following commits:

e0c858a [Pallavi Nagesha Rao] FALCON-2325 Removal of unnecessary whitespace
cce15ea [Pallavi Nagesha Rao] FALCON-2325 Kerberos Service Token refresh does not happen
  • Loading branch information
Pallavi Nagesha Rao authored and pallavi-rao committed Feb 26, 2018
1 parent 3c2d794 commit dc470882f983906c5601400590a9c1003eb27109
Showing 1 changed file with 5 additions and 1 deletion.
@@ -157,7 +157,11 @@ public void run() {
try {
LOG.debug("Revalidating Auth Token at : {} with auth method {}", new Date(),
UserGroupInformation.getLoginUser().getAuthenticationMethod().name());
UserGroupInformation.getLoginUser().checkTGTAndReloginFromKeytab();

// Relogin does not work in Hadoop 2.6 or 2.7 as isKeyTab check returns false
// UserGroupInformation.getLoginUser().checkTGTAndReloginFromKeytab();
// Do a regular loginUserFromKeytab, till the issue is addressed.
initializeKerberos();
} catch (Throwable t) {
LOG.error("Error in Auth Token revalidation task: ", t);
GenericAlert.initializeKerberosFailed("Exception in Auth Token revalidation : ", t);

0 comments on commit dc47088

Please sign in to comment.