hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Trezzo (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (YARN-5027) NM should clean up app log dirs after NM restart
Date Thu, 27 Oct 2016 21:20:59 GMT

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

Chris Trezzo edited comment on YARN-5027 at 10/27/16 9:20 PM:
--------------------------------------------------------------

Does the current patch have the potential to leak {{application\_\*\_\*\_DEL\_\*}} directories?
In {{ResourceLocalizationService#cleanupLogDir}} would we want to check if the renamed _DEL_
directory exists in the case where the original log directory doesn't exist and delete if
necessary?


was (Author: ctrezzo):
Does the current patch have the potential to leak {{application_*_*_DEL_*}} directories? In
{{ResourceLocalizationService#cleanupLogDir}} would we want to check if the renamed _DEL_
directory exists in the case where the original log directory doesn't exist and delete if
necessary?

> NM should clean up app log dirs after NM restart 
> -------------------------------------------------
>
>                 Key: YARN-5027
>                 URL: https://issues.apache.org/jira/browse/YARN-5027
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            Reporter: sandflee
>            Assignee: sandflee
>              Labels: oct16-easy
>         Attachments: YARN-5027.01.patch
>
>
> If nm start without recovery enabled, there may be many deprecated app log dir in NM
log dirs, NM should clean up them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message