Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A94617A72 for ; Thu, 5 Feb 2015 13:34:36 +0000 (UTC) Received: (qmail 23241 invoked by uid 500); 5 Feb 2015 13:34:36 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 23199 invoked by uid 500); 5 Feb 2015 13:34:36 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 23185 invoked by uid 99); 5 Feb 2015 13:34:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2015 13:34:36 +0000 Date: Thu, 5 Feb 2015 13:34:35 +0000 (UTC) From: "Varun Saxena (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3090) DeletionService can silently ignore deletion task failures MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 (v6.3.4#6332)