Github user joshelser commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/57#discussion_r46572253
  
    --- Diff: 
server/base/src/main/java/org/apache/accumulo/server/security/SecurityUtil.java 
---
    @@ -93,4 +95,41 @@ public static String getServerPrincipal(String 
configuredPrincipal) {
           throw new RuntimeException("Could not convert configured server 
principal: " + configuredPrincipal, e);
         }
       }
    +
    +  /**
    +   * Start a thread that periodically attempts to renew the current 
Kerberos user's ticket.
    +   *
    +   * @param ugi
    +   *    The current Kerberos user.
    +   * @param renewalPeriod
    +   *    The amount of time between attempting renewals.
    +   */
    +  static void startTicketRenewalThread(final UserGroupInformation ugi, 
final long renewalPeriod) {
    +    Thread t = new Daemon(new LoggingRunnable(renewalLog, new Runnable() {
    --- End diff --
    
    `SecuityUtil#serverLogin(AccumuloConfiguration)` aborts quickly if we're 
not actually running with Kerberos. So, no, this thread already won't run if 
the servers aren't configured to run with Kerberos.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to