hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sandflee (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (YARN-5375) invoke MockRM#drainEvents implicitly in MockRM methods to reduce test failures
Date Fri, 29 Jul 2016 01:28:20 GMT

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

sandflee edited comment on YARN-5375 at 7/29/16 1:28 AM:
---------------------------------------------------------

update the patch to fix test failures.
bq. org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler
scheduler event handler throws exceptions cause test failed, disable Dispatcher.DISPATCHER_EXIT_ON_ERROR_KEY
in drainDispatcher like Scheduler event dispatcher.
bq. org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesNodes
MockRM is not started, so waitForState will be blocked, just start the rm.



was (Author: sandflee):
update the patch to fix test failures.
bq. org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler
scheduler event handle exceptions cause test failed, disable Dispatcher.DISPATCHER_EXIT_ON_ERROR_KEY
in drainDispatcher
bq. org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesNodes
MockRM is not started, so waitForState will be blocked, just start the rm.


> 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
>            Reporter: sandflee
>            Assignee: sandflee
>         Attachments: YARN-5375.01.patch, YARN-5375.03.patch, YARN-5375.04.patch, YARN-5375.05.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