hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-9113) o.a.h.fs.TestDelegationTokenRenewer is failing intermittently
Date Tue, 04 Dec 2012 02:27:58 GMT
Karthik Kambatla created HADOOP-9113:

             Summary: o.a.h.fs.TestDelegationTokenRenewer is failing intermittently
                 Key: HADOOP-9113
                 URL: https://issues.apache.org/jira/browse/HADOOP-9113
             Project: Hadoop Common
          Issue Type: Bug
          Components: security, test
    Affects Versions: 2.0.2-alpha
            Reporter: Karthik Kambatla
            Assignee: Karthik Kambatla
             Fix For: 2.0.3-alpha

In the following code snippets, the test tries to check the renewCount for the token to verify
if the FileSystem has been de-queued.

    public long renew(Configuration conf) {
      if (renewCount == MAX_RENEWALS) {
      } else {
      return renewCount;

testAddRemoveRenewAction() {
  // some test code
  assertTrue("Token not removed", (tfs.testToken.renewCount < MAX_RENEWALS));

On slower machines, the renewCount can actually reach MAX_RENEWALS resulting in a test failure.

renewCount should not be used to verify this.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message