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

Naganarasimha G R commented on YARN-5057:
-----------------------------------------

Thanks for the patch [~jlowe], encountered the same stack trace in YARN-4855 
too. And seems like approach taken in the patch makes sense to me we wait for 
10 seconds in a loop which is checking in a interval of 10 ms and throws the 
exception, though later in the test case we try to assert the same. 
So overall LGTM and +1 , if not further comments will commit it.


> resourcemanager.security.TestDelegationTokenRenewer fails in trunk
> ------------------------------------------------------------------
>
>                 Key: YARN-5057
>                 URL: https://issues.apache.org/jira/browse/YARN-5057
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Yongjun Zhang
>            Assignee: Jason Lowe
>         Attachments: YARN-5057.001.patch
>
>
> The following test seems to fail easily if not always:
> {code}
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running 
> org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer
> Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 42.996 sec 
> <<< FAILURE! - in 
> org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer
> testCancelWithMultipleAppSubmissions(org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer)
>   Time elapsed: 0.382 sec  <<< FAILURE!
> java.lang.AssertionError: null
>       at org.junit.Assert.fail(Assert.java:86)
>       at org.junit.Assert.assertTrue(Assert.java:41)
>       at org.junit.Assert.assertFalse(Assert.java:64)
>       at org.junit.Assert.assertFalse(Assert.java:74)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer.testCancelWithMultipleAppSubmissions(TestDelegationTokenRenewer.java:1134)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to