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 "ChengHuang (JIRA)" <ji...@apache.org> on 2017/12/26 14:11:00 UTC

[jira] [Created] (YARN-7683) what's the meaning of the existence of method sendKillEvent in containerImpl?

ChengHuang created YARN-7683:
--------------------------------

             Summary: what's the meaning of the existence of  method sendKillEvent in containerImpl?
                 Key: YARN-7683
                 URL: https://issues.apache.org/jira/browse/YARN-7683
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: ChengHuang


I've found that in NM, while sometimes kill a container by sending ContainerKillEvent directly,sometimes sendKillEvent method of containerImpl is used。The total difference is sendKillEvent will set container‘s member variable isMarkeForKilling true。
And this variable is only used in ContainerLaunch while invoking launchContainer method. Besides while ContainerLaunch’s call() is called, we have already checked container's state。
So,what's the meaning of the existence of sendKillEvent and isMarkeForKilling?
Besides,isMarkeForKilling has a spell error:(



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org