hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bikas Saha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-72) NM should handle cleaning up containers when it shuts down ( and kill containers from an earlier instance when it comes back up after an unclean shutdown )
Date Tue, 25 Sep 2012 02:58:09 GMT

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

Bikas Saha commented on YARN-72:
--------------------------------

Pids might get reused. so we need to guard against that.
Is there any generic Linux OS mechanism that would make the running containers die when the
NM dies? e.g. On Windows, NM can use JobObject's to make this happen.
                
> NM should handle cleaning up containers when it shuts down ( and kill containers from
an earlier instance when it comes back up after an unclean shutdown )
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-72
>                 URL: https://issues.apache.org/jira/browse/YARN-72
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            Reporter: Hitesh Shah
>
> Ideally, the NM should wait for a limited amount of time when it gets a shutdown signal
for existing containers to complete and kill the containers ( if we pick an aggressive approach
) after this time interval. 
> For NMs which come up after an unclean shutdown, the NM should look through its directories
for existing container.pids and try and kill an existing containers matching the pids found.


--
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