Configuration conf = dttr.conf;
if(token.getKind().equals(kindHdfs)) {
try {
DistributedFileSystem dfs = getDFSForToken(token, conf);
newExpirationDate = dfs.renewDelegationToken(token);
} catch (InvalidToken ite) {
LOG.warn("token canceled - not scheduling for renew");
removeFailedDelegationToken(dttr);
throw new Exception("failed to renew token", ite);
} catch (AccessControlException ace) {