[jira] [Updated] (YARN-7372) TestContainerSchedulerQueuing.testContainerUpdateExecTypeGuaranteedToOpportunistic is flaky

2017-10-20 Thread Haibo Chen (JIRA)

 [ 
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.01.patch

Attach a new patch to address the check style indention issue. The 
TestDistributedScheduler failure is YARN-7299

> TestContainerSchedulerQueuing.testContainerUpdateExecTypeGuaranteedToOpportunistic
>  is flaky 
> 
>
> 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, YARN-7372.01.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
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7372) TestContainerSchedulerQueuing.testContainerUpdateExecTypeGuaranteedToOpportunistic is flaky

2017-10-19 Thread Haibo Chen (JIRA)

 [ 
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 flaky 
> 
>
> 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
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7372) TestContainerSchedulerQueuing.testContainerUpdateExecTypeGuaranteedToOpportunistic is flaky

2017-10-19 Thread Haibo Chen (JIRA)

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

Haibo Chen updated YARN-7372:
-
Description: 
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}

> TestContainerSchedulerQueuing.testContainerUpdateExecTypeGuaranteedToOpportunistic
>  is flaky 
> 
>
> 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
>
> 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
(v6.4.14#64029)

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