Colin Patrick McCabe created HDFS-3691: ------------------------------------------
Summary: UserGroupInformation#spawnAutoRenewalThreadForUserCreds dumps shell output to stdout / stderr Key: HDFS-3691 URL: https://issues.apache.org/jira/browse/HDFS-3691 Project: Hadoop HDFS Issue Type: Bug Components: name-node Affects Versions: 2.0.1-alpha Reporter: Colin Patrick McCabe Priority: Minor Fix For: 2.2.0-alpha 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. {code} cmccabe@keter:/h> klist Ticket cache: FILE:/tmp/krb5cc_1014 Default principal: hdfs/ke...@cloudera.com Valid starting Expires Service principal 07/18/12 15:24:15 07/19/12 15:24:13 krbtgt/cloudera....@cloudera.com {code} {code} 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 {code} -- 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