[ 
https://issues.apache.org/jira/browse/HADOOP-9113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529820#comment-13529820
 ] 

Hudson commented on HADOOP-9113:
--------------------------------

Integrated in Hadoop-Yarn-trunk #63 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/63/])
    HADOOP-9113. o.a.h.fs.TestDelegationTokenRenewer is failing intermittently. 
Contributed by Karthik Kambatla (Revision 1420490)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1420490
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DelegationTokenRenewer.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestDelegationTokenRenewer.java

                
> 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
>
>         Attachments: hadoop-9113.patch, hadoop-9113.patch, hadoop-9113.patch, 
> hadoop-9113.patch
>
>
> In the following code snippets, the test tries to check the renewCount for 
> the token to verify if the FileSystem has been de-queued.
> {code}
>     @Override
>     public long renew(Configuration conf) {
>       if (renewCount == MAX_RENEWALS) {
>         Thread.currentThread().interrupt();
>       } else {
>         renewCount++;
>       }
>       return renewCount;
>     }
> testAddRemoveRenewAction() {
>   // some test code
>   assertTrue("Token not removed", (tfs.testToken.renewCount < MAX_RENEWALS));
> }
> {code}
> 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

Reply via email to