[
https://issues.apache.org/jira/browse/HADOOP-18639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17692199#comment-17692199
]
ASF GitHub Bot commented on HADOOP-18639:
-----------------------------------------
Sejin-Hwang opened a new pull request, #5425:
URL: https://github.com/apache/hadoop/pull/5425
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
When the DockerContainerDeletionTask is completed, it should be deleted from
the NodeManager's statestore, just like the FileDeletionTask.
JIRA : https://issues.apache.org/jira/browse/HADOOP-18639
### How was this patch tested?
Unit test added
> DockerContainerDeletionTask is not removed from the Nodemanager's statestore
> when the task is completed.
> --------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-18639
> URL: https://issues.apache.org/jira/browse/HADOOP-18639
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Sejin Hwang
> Priority: Major
>
> YARN NodeManager has two types of deletion tasks: the FileDeletionTask for
> deleting log files and the DockerContainerDeletionTask for deleting Docker
> containers.
>
> The FileDeletionTask is removed from the statestore when the task is
> completed, but the DockerContainerDeletionTask is not.
> Therefore, the DockerContainerDeletionTask accumulates continuously in the
> statestore.
>
> This causes the NodeManager's deletion service to run the accumulated
> DockerContainerDeletionTask in the statestore when the NodeManager restarts.
> As a result, the FileDeletionTask and DockerContainerDeletionTask are delayed
> unnecessarily while processing accumulated tasks, which can cause disk full
> issues in environments where a large number of containers are allocated and
> released.
> I will attach a patch soon
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]