Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1F57F200B88 for ; Thu, 22 Sep 2016 13:12:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1E272160AD0; Thu, 22 Sep 2016 11:12:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 74C4B160AE3 for ; Thu, 22 Sep 2016 13:12:22 +0200 (CEST) Received: (qmail 36705 invoked by uid 500); 22 Sep 2016 11:12:21 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 36301 invoked by uid 99); 22 Sep 2016 11:12:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2016 11:12:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C196A2C2A60 for ; Thu, 22 Sep 2016 11:12:20 +0000 (UTC) Date: Thu, 22 Sep 2016 11:12:20 +0000 (UTC) From: "Steve Loughran (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3877) YarnClientImpl.submitApplication swallows exceptions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 22 Sep 2016 11:12:23 -0000 [ https://issues.apache.org/jira/browse/YARN-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15512989#comment-15512989 ] Steve Loughran commented on YARN-3877: -------------------------------------- was this ever committed? I guess not > YarnClientImpl.submitApplication swallows exceptions > ---------------------------------------------------- > > Key: YARN-3877 > URL: https://issues.apache.org/jira/browse/YARN-3877 > Project: Hadoop YARN > Issue Type: Improvement > Components: client > Affects Versions: 2.7.2 > Reporter: Steve Loughran > Assignee: Varun Saxena > Priority: Minor > Attachments: YARN-3877.01.patch, YARN-3877.02.patch, YARN-3877.03.patch, YARN-3877.04.patch > > > When {{YarnClientImpl.submitApplication}} spins waiting for the application to be accepted, any interruption during its Sleep() calls are logged and swallowed. > this makes it hard to interrupt the thread during shutdown. Really it should throw some form of exception and let the caller deal with it. -- 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