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 7E51E10ABB for ; Fri, 13 Feb 2015 10:42:34 +0000 (UTC) Received: (qmail 67303 invoked by uid 500); 13 Feb 2015 10:42:34 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 67263 invoked by uid 500); 13 Feb 2015 10:42:34 -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 67251 invoked by uid 99); 13 Feb 2015 10:42:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 10:42:34 +0000 Date: Fri, 13 Feb 2015 10:42:34 +0000 (UTC) From: "Steve Loughran (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3192) Empty handler for exception: java.lang.InterruptedException #WebAppProxy.java and #/ResourceManager.java 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-3192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14319885#comment-14319885 ] Steve Loughran commented on YARN-3192: -------------------------------------- w.r.t the {{WebAppProxy}} path; we could change the {{join()}} method to simply pass up the exception; the sole place it is used is {{WebAppProxyServer.main}}, which catches all throwables and exits with a (-1) If that is done, the patch must be against trunk, not the 2.6 source > Empty handler for exception: java.lang.InterruptedException #WebAppProxy.java and #/ResourceManager.java > -------------------------------------------------------------------------------------------------------- > > Key: YARN-3192 > URL: https://issues.apache.org/jira/browse/YARN-3192 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 2.6.0 > Reporter: Brahma Reddy Battula > Assignee: Brahma Reddy Battula > Attachments: YARN-3192.patch > > > The InterruptedException is completely ignored. As a result, any events causing this interrupt will be lost. > File: org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java > {code} > try { > event = eventQueue.take(); > } catch (InterruptedException e) { > LOG.error("Returning, interrupted : " + e); > return; // TODO: Kill RM. > } > {code} > File: "org/apache/hadoop/yarn/server/webproxy/WebAppProxy.java" > {code} > public void join() { > if(proxyServer != null) { > try { > proxyServer.join(); > } catch (InterruptedException e) { > } > } > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)