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 "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2014/08/11 03:39:12 UTC

[jira] [Updated] (YARN-2361) RMAppAttempt state machine entries for KILLED state has duplicate event entries

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

Karthik Kambatla updated YARN-2361:
-----------------------------------

    Summary: RMAppAttempt state machine entries for KILLED state has duplicate event entries  (was: remove duplicate entries (EXPIRE event) in the EnumSet of event type in RMAppAttempt state machine)

> RMAppAttempt state machine entries for KILLED state has duplicate event entries
> -------------------------------------------------------------------------------
>
>                 Key: YARN-2361
>                 URL: https://issues.apache.org/jira/browse/YARN-2361
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 2.5.0
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>            Priority: Trivial
>         Attachments: YARN-2361.000.patch
>
>
> remove duplicate entries in the EnumSet of event type in RMAppAttempt state machine. The  event RMAppAttemptEventType.EXPIRE is duplicated in the following code.
> {code}
>           EnumSet.of(RMAppAttemptEventType.ATTEMPT_ADDED,
>               RMAppAttemptEventType.EXPIRE,
>               RMAppAttemptEventType.LAUNCHED,
>               RMAppAttemptEventType.LAUNCH_FAILED,
>               RMAppAttemptEventType.EXPIRE,
>               RMAppAttemptEventType.REGISTERED,
>               RMAppAttemptEventType.CONTAINER_ALLOCATED,
>               RMAppAttemptEventType.UNREGISTERED,
>               RMAppAttemptEventType.KILL,
>               RMAppAttemptEventType.STATUS_UPDATE))
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)