You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2013/11/29 06:43:35 UTC

[jira] [Commented] (YARN-1454) TestRMRestart.testRMDelegationTokenRestoredOnRMRestart is failing intermittently

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

Karthik Kambatla commented on YARN-1454:
----------------------------------------

I believe the fix is to add a sleep in the test: 

{code}
      Long renewDateBeforeRenew = allTokensRM2.get(dtId1);
      try{
 +      // Sleep for one millisecond to make sure renewDataAfterRenew is greater
 +      Thread.sleep(1);
        // renew recovered token
        rm2.getRMDTSecretManager().renewToken(token1, "renewer1");
      } catch(Exception e) {
{code}

> TestRMRestart.testRMDelegationTokenRestoredOnRMRestart is failing intermittently 
> ---------------------------------------------------------------------------------
>
>                 Key: YARN-1454
>                 URL: https://issues.apache.org/jira/browse/YARN-1454
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)