You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Tarun Parimi (JIRA)" <ji...@apache.org> on 2018/02/16 20:19:00 UTC
[jira] [Commented] (YARN-7943) testCSReservationWithRootUnblocked()
and testCSQueueBlocked() in TestCapacityScheduler are flaky
[ https://issues.apache.org/jira/browse/YARN-7943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367829#comment-16367829 ]
Tarun Parimi commented on YARN-7943:
------------------------------------
Attached a trivial patch which increases the yarn.resourcemanager.nodemanagers.heartbeat-interval-ms to 10s
Alternatively, calling nodeUpdate() on the nodes, instead of CapacityScheduler.schedule() should also work.
> testCSReservationWithRootUnblocked() and testCSQueueBlocked() in TestCapacityScheduler are flaky
> ------------------------------------------------------------------------------------------------
>
> Key: YARN-7943
> URL: https://issues.apache.org/jira/browse/YARN-7943
> Project: Hadoop YARN
> Issue Type: Task
> Components: capacity scheduler, test
> Reporter: Tarun Parimi
> Priority: Major
> Attachments: YARN-7943.001.patch
>
>
> testCSReservationWithRootUnblocked() and testCSQueueBlocked() test for the expected value of Used Resources in different queues after calling allocate() and CapacityScheduler.schedule().
> If CapacityScheduler.schedule() gets executed more than a second after NodeAddedSchedulerEvent was handled, then the node will be skipped from scheduling. This results in test failure as the node resources will not be allocated and so the expected Used Resource value differs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org