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-643) WHY appToken is removed both in BaseFinalTransition and AMUnregisteredTransition AND clientToken is removed in FinalTransition and not BaseFinalTransition
Date Thu, 01 Aug 2013 23:39:50 GMT

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

Jian He commented on YARN-643:
------------------------------

Patch mostly good,
In the test case, can you also verify AMRMToken is removed ?
why we need to explicitly send the EXPIRE event, doesn't it call finishApplicationMaster already
?
{code}
      rm.getRMContext()
          .getDispatcher()
          .getEventHandler()
          .handle(
              new RMAppAttemptEvent(applicationAttemptId,
                  RMAppAttemptEventType.EXPIRE));
{code}

                
> WHY appToken is removed both in BaseFinalTransition and AMUnregisteredTransition AND
clientToken is removed in FinalTransition and not BaseFinalTransition
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-643
>                 URL: https://issues.apache.org/jira/browse/YARN-643
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Xuan Gong
>         Attachments: YARN-643.1.patch, YARN-643.2.patch, YARN-643.3.patch
>
>
> The jira is tracking why appToken and clientToAMToken is removed separately, and why
they are distributed in different transitions, ideally there may be a common place where these
two tokens can be removed at the same time. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message