hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Saxena (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3090) DeletionService can silently ignore deletion task failures
Date Thu, 05 Feb 2015 13:34:35 GMT

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

Varun Saxena commented on YARN-3090:

[~jlowe], oh is it so. To verify if it works, had written a small program to verify it and
it worked. Probably because I directly threw an exception in run() without any processing.
Will modify as per your suggestion.

> DeletionService can silently ignore deletion task failures
> ----------------------------------------------------------
>                 Key: YARN-3090
>                 URL: https://issues.apache.org/jira/browse/YARN-3090
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.1.1-beta
>            Reporter: Jason Lowe
>            Assignee: Varun Saxena
>         Attachments: YARN-3090.001.patch, YARN-3090.002.patch
> If a non-I/O exception occurs while the DeletionService is executing a deletion task
then it will be silently ignored.  The exception bubbles up to the thread workers of the ScheduledThreadPoolExecutor
which simply attaches the throwable to the Future that was returned when the task was scheduled.
 However the thread pool is used as a fire-and-forget pool, so nothing ever looks at the Future
and therefore the exception is never logged.

This message was sent by Atlassian JIRA

View raw message