hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhihai xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-2361) remove duplicate entries (EXPIRE event) in the EnumSet of event type in RMAppAttempt state machine
Date Fri, 25 Jul 2014 23:30:38 GMT
zhihai xu created YARN-2361:
-------------------------------

             Summary: remove duplicate entries (EXPIRE event) in the EnumSet of event type
in RMAppAttempt state machine
                 Key: YARN-2361
                 URL: https://issues.apache.org/jira/browse/YARN-2361
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: zhihai xu
            Priority: Minor
         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)

Mime
View raw message