hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Badger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-6507) TestRMNMInfo fails intermittently
Date Tue, 02 Feb 2016 21:42:39 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Eric Badger updated MAPREDUCE-6507:
    Attachment: MAPREDUCE-6507.001.patch

The problem is that there is a thread starting the services and the main thread is asynchronously
checking the state. Thus, the main thread checks that the services are fully up, but they
can appear to be started before they have actually completed their startup (AbstractService
sets the state to STARTED before calling serviceStart()). I think that the easiest fix is
to remove the threads that are spawned from within the main thread that do not appear to accomplish
anything of value. 

> TestRMNMInfo fails intermittently
> ---------------------------------
>                 Key: MAPREDUCE-6507
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6507
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>            Reporter: Rohith Sharma K S
>            Assignee: Eric Badger
>         Attachments: MAPREDUCE-6507.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