hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Badger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4686) MiniYARNCluster.start() returns before cluster is completely started
Date Fri, 26 Feb 2016 19:32:18 GMT

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

Eric Badger commented on YARN-4686:

I am unable to reproduce any of the JUnit timeout failures (TestYarnCLI, TestAMRMClient, TestYarnClient,
TestNMClient) locally via trunk or via trunk with my patch added. 

TestMiniYarnClusterNodeUtilization fails locally in both trunk and with my patch.

TestContainerManagerSecurity passes locally in both trunk and with my patch.

TestGetGroups has an Ignore annotation, so we can probably ignore that error. 

TestApplicationClientProtocolOnHA passes locally on trunk and fails locally with my patch.
However, there are a non-deterministic amount of tests failing with the same error in the
initialization code. 

java.lang.AssertionError: NMs failed to connect to the RM
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.apache.hadoop.yarn.client.ProtocolHATestBase.verifyConnections(ProtocolHATestBase.java:219)
	at org.apache.hadoop.yarn.client.ProtocolHATestBase.startHACluster(ProtocolHATestBase.java:284)
	at org.apache.hadoop.yarn.client.TestApplicationClientProtocolOnHA.initiate(TestApplicationClientProtocolOnHA.java:54)

> MiniYARNCluster.start() returns before cluster is completely started
> --------------------------------------------------------------------
>                 Key: YARN-4686
>                 URL: https://issues.apache.org/jira/browse/YARN-4686
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>            Reporter: Rohith Sharma K S
>            Assignee: Eric Badger
>         Attachments: MAPREDUCE-6507.001.patch, YARN-4686.001.patch
> TestRMNMInfo fails intermittently. Below is trace for the failure
> {noformat}
> testRMNMInfo(org.apache.hadoop.mapreduce.v2.TestRMNMInfo)  Time elapsed: 0.28 sec  <<<
> java.lang.AssertionError: Unexpected number of live nodes: expected:<4> but was:<3>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:555)
> 	at org.apache.hadoop.mapreduce.v2.TestRMNMInfo.testRMNMInfo(TestRMNMInfo.java:111)
> {noformat}

This message was sent by Atlassian JIRA

View raw message