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

Jason Lowe commented on YARN-8904:
----------------------------------

Whenever it says there was a timeout or other error in the fork then that means 
one or more of the forked JVMs did not exit properly.  You can usually find 
which one it was by examining the console log for cases where a test was run 
but no results were printed.  For example, this is the relevant section of 
output in this case:
{noformat}
[INFO] Running 
org.apache.hadoop.yarn.server.resourcemanager.TestLeaderElectorService
[INFO] Running 
org.apache.hadoop.yarn.server.resourcemanager.resource.TestResourceProfiles
{noformat}

This indicates one of the tests in TestLeaderElectorService either timed out or 
called System.exit which foiled the normal surefire test case completion 
processing.

+1 patch looks good to me.  The TestLeaderElectorService problem does not look 
related and it reproduces without this patch.  Filed YARN-8937.  Committing 
this.

> TestRMDelegationTokens can fail in testRMDTMasterKeyStateOnRollingMasterKey
> ---------------------------------------------------------------------------
>
>                 Key: YARN-8904
>                 URL: https://issues.apache.org/jira/browse/YARN-8904
>             Project: Hadoop YARN
>          Issue Type: Test
>          Components: test
>    Affects Versions: 3.1.0
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Minor
>         Attachments: YARN-8904.001.patch
>
>
> In build 
> [link|https://builds.apache.org/job/PreCommit-YARN-Build/22215/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt],
>  TestRMDelegationTokens fails for a test case:
> * TestRMDelegationTokens.testRMDTMasterKeyStateOnRollingMasterKey
> The test fails with an extra key in the list. It can be easily reproduced by 
> introducing a short sleep in the thread.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to