hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Saxena (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5375) invoke MockRM#drainEvents implicitly in MockRM methods to reduce test failures
Date Thu, 17 Nov 2016 06:38:58 GMT

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

Varun Saxena commented on YARN-5375:
------------------------------------

[~sandflee],[~rohithsharma] looking at the patch, it seems we haven't really replaced tests
to use new MockRMMemoryStateStore instead of MemoryRMStateStore. Do we plan to do this in
another JIRA  ? 

> invoke MockRM#drainEvents implicitly in MockRM methods to reduce test failures
> ------------------------------------------------------------------------------
>
>                 Key: YARN-5375
>                 URL: https://issues.apache.org/jira/browse/YARN-5375
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>            Reporter: sandflee
>            Assignee: sandflee
>              Labels: oct16-medium
>             Fix For: 2.9.0, 3.0.0-alpha2
>
>         Attachments: YARN-5375.01.patch, YARN-5375.03.patch, YARN-5375.04.patch, YARN-5375.05.patch,
YARN-5375.06.patch, YARN-5375.07-drain-statestore.patch, YARN-5375.07-sync-statestore.patch,
YARN-5375.08.patch, YARN-5375.09.patch, YARN-5375.10.patch, YARN-5375.11.patch, YARN-5375.12.new.patch,
YARN-5375.12.patch
>
>
> seen many test failures related to RMApp/RMAppattempt comes to some state but some event
are not processed in rm event queue or scheduler event queue, cause test failure, seems we
could implicitly invokes drainEvents(should also drain sheduler event) in some mockRM method
like waitForState



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message