hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1416) InvalidStateTransitions getting reported in multiple test cases even though they pass
Date Thu, 21 Nov 2013 19:31:35 GMT

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

Jian He commented on YARN-1416:

The reason for this invalid event transition is that inside testGetClientToken, it's manually
controlling attempt to move some state such that some logic can be performed in one of the
attemptTransition, which cause an unexpected event sent from attempt.  and the whole TestRMAppTransitions
unit tests are just bypassing attempt transition logic and just manually sending the app event
to trigger the app transition,  I think this can be fine ?

I put some comments for describing the test purposes.

bq. Do we know how many tests are reporting such exceptions but passing successfully?
This is the only invalid event exception in TestRMAppTransitions, all others are fixed.
No invalid event exception found TestRMAppAttemptTransitions.

> InvalidStateTransitions getting reported in multiple test cases even though they pass
> -------------------------------------------------------------------------------------
>                 Key: YARN-1416
>                 URL: https://issues.apache.org/jira/browse/YARN-1416
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Omkar Vinit Joshi
>            Assignee: Jian He
>         Attachments: YARN-1416.1.patch, YARN-1416.1.patch, YARN-1416.2.patch
> It might be worth checking why they are reporting this.
> Testcase : TestRMAppTransitions, TestRM
> there are large number of such errors.
> can't handle RMAppEventType.APP_UPDATE_SAVED at RMAppState.FAILED

This message was sent by Atlassian JIRA

View raw message