hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ChengHuang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7683) what's the meaning of the existence of method sendKillEvent in containerImpl?
Date Tue, 26 Dec 2017 14:11:00 GMT
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message