hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-7372) TestContainerSchedulerQueuing.testContainerUpdateExecTypeGuaranteedToOpportunistic is flaky
Date Fri, 20 Oct 2017 00:32:00 GMT

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

Haibo Chen updated YARN-7372:
    Attachment: YARN-7372.00.patch

I throw in a quick fix that waits for a certain time for the container type update. Feel free
to take it over.

> TestContainerSchedulerQueuing.testContainerUpdateExecTypeGuaranteedToOpportunistic is
> --------------------------------------------------------------------------------------------
>                 Key: YARN-7372
>                 URL: https://issues.apache.org/jira/browse/YARN-7372
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Haibo Chen
>            Assignee: Haibo Chen
>              Labels: unit-test
>         Attachments: YARN-7372.00.patch
> testContainerUpdateExecTypeGuaranteedToOpportunistic waits for the container to be running
before it sends container update request.
> The container update is handled asynchronously in node manager, and it does not trigger
visible state transition. If the node manager event
> dispatch thread is slow, the unit test can fail at the the assertion 
> {code} Assert.assertEquals(ExecutionType.OPPORTUNISTIC, status.getExecutionType());{code}

This message was sent by Atlassian JIRA

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

View raw message