accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohshazbot <...@git.apache.org>
Subject [GitHub] accumulo pull request: ACCUMULO-4069 Ensure Kerberos relogins occu...
Date Thu, 03 Dec 2015 14:44:21 GMT
Github user ohshazbot commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/57#discussion_r46558805
  
    --- 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 --
    
    Can we prevent this thread from even running if there is no kerberos involved?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message