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-7495) Improve robustness of the AggregatedLogDeletionService
Date Wed, 15 Nov 2017 16:08:00 GMT

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

Jason Lowe commented on YARN-7495:

Thanks for the patch!

Looks good overall.  The readability would be significantly improved with a utility method
to delete a path and log any IOException.  There would be a lot less nested try blocks as
a result.

The tab characters should be cleaned up.

> Improve robustness of the AggregatedLogDeletionService
> ------------------------------------------------------
>                 Key: YARN-7495
>                 URL: https://issues.apache.org/jira/browse/YARN-7495
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: log-aggregation
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>         Attachments: YARN-7495.001.patch
> The deletion tasks are scheduled with a TimerTask whose scheduler is a Timer scheduleAtFixedRate.
If an exception occurs in the log deletion task, the Timer scheduler interprets this as a
task cancelation and stops scheduling future deletion tasks.

This message was sent by Atlassian JIRA

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

View raw message