private void renew() {
      LOG.info("Renewing token: " + realToken);
      try {
        expirationTime = secretManager.renewToken(realToken, clusterUser);
        renewalTime = Time.now();
        LOG.info("Renewed token: " + realToken);
      } catch (IOException e) {
        throw new RuntimeException(e);
      }
    }
Convenience wrapper for llap tokens, that decodes max lifetime only once on adding and maintains expiration time.
llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/DefaultLlapTokenManager.java