hadoop-yarn-issues mailing list archives

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

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

Jason Lowe commented on YARN-5027:
----------------------------------

I don't believe it will leak those directories.  The exists check is on the root log dir,
not the app log dirs.  Since we rename the log dirs underneath the same root log dir, if that
root dir doesn't exist then none of the DEL directories will either.

> 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