hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-3676) handleSaslConnection failure doesn't try to renew the correct UGI
Date Tue, 17 Jul 2012 23:34:34 GMT
Colin Patrick McCabe created HDFS-3676:

             Summary: handleSaslConnection failure doesn't try to renew the correct UGI
                 Key: HDFS-3676
                 URL: https://issues.apache.org/jira/browse/HDFS-3676
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.1.0-alpha
            Reporter: Colin Patrick McCabe
            Assignee: Colin Patrick McCabe

Client.java has this code:

    private synchronized void handleSaslConnectionFailure(
        final int currRetries, final int maxRetries, final Exception ex,
        final Random rand, final UserGroupInformation ugi) throws IOException,
        InterruptedException {
      ugi.doAs(new PrivilegedExceptionAction<Object>() {
        public Object run() throws IOException, InterruptedException {
          final short MAX_BACKOFF = 5000;
          if (shouldAuthenticateOverKrb()) {
            if (currRetries < maxRetries) {
              if(LOG.isDebugEnabled()) {
                LOG.debug("Exception encountered while connecting to "
                    + "the server : " + ex);
              // try re-login
              if (UserGroupInformation.isLoginKeytabBased()) {
              } else {

It's not renewing the UGI that had the problem, it's renewing the loginUser.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message