Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10041

UserGroupInformation#spawnAutoRenewalThreadForUserCreds tries to renew even if the kerberos ticket cache is non-renewable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.1-alpha
    • None
    • security
    • None

    Description

      UserGroupInformation#spawnAutoRenewalThreadForUserCreds tries to renew user credentials. However, it does this even if the kerberos ticket cache in question is non-renewable.

      This leads to an annoying error message being printed out all the time.

      cmccabe@keter:/h> klist
      Ticket cache: FILE:/tmp/krb5cc_1014
      Default principal: hdfs/keter@CLOUDERA.COM
      
      Valid starting     Expires            Service principal
      07/18/12 15:24:15  07/19/12 15:24:13  krbtgt/CLOUDERA.COM@CLOUDERA.COM
      
      
      cmccabe@keter:/h> ./bin/hadoop fs -ls /
      
      15:21:39,882  WARN UserGroupInformation:739 - Exception encountered while running the renewal command. Aborting renew thread. org.apache.hadoop.util.Shell$ExitCodeException: kinit: KDC can't fulfill requested option while renewing credentials
      
      Found 3 items
      -rw-r--r--   3 cmccabe users               0 2012-07-09 17:15 /b
      -rw-r--r--   3 hdfs    supergroup          0 2012-07-09 17:17 /c
      drwxrwxrwx   - cmccabe audio               0 2012-07-19 11:25 /tmp
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: