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 2D02E200C30 for ; Tue, 7 Mar 2017 18:13:44 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2BC43160B68; Tue, 7 Mar 2017 17:13:44 +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 76389160B65 for ; Tue, 7 Mar 2017 18:13:43 +0100 (CET) Received: (qmail 51100 invoked by uid 500); 7 Mar 2017 17:13:42 -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 51087 invoked by uid 99); 7 Mar 2017 17:13:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2017 17:13:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 393B71819E4 for ; Tue, 7 Mar 2017 17:13:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ZiAs7ZjqD1_f for ; Tue, 7 Mar 2017 17:13:41 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 309B45FACA for ; Tue, 7 Mar 2017 17:13:41 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 524ECE05BB for ; Tue, 7 Mar 2017 17:13:38 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0C4D62416A for ; Tue, 7 Mar 2017 17:13:38 +0000 (UTC) Date: Tue, 7 Mar 2017 17:13:38 +0000 (UTC) From: "Botong Huang (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-6281) Cleanup when AMRMProxy fails to initialize a new interceptor chain MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 07 Mar 2017 17:13:44 -0000 [ https://issues.apache.org/jira/browse/YARN-6281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Botong Huang updated YARN-6281: ------------------------------- Attachment: YARN-6281.v3.patch Unit test added > Cleanup when AMRMProxy fails to initialize a new interceptor chain > ------------------------------------------------------------------ > > Key: YARN-6281 > URL: https://issues.apache.org/jira/browse/YARN-6281 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Botong Huang > Assignee: Botong Huang > Priority: Minor > Attachments: YARN-6281.v1.patch, YARN-6281.v2.patch, YARN-6281.v3.patch > > > When a app starts, AMRMProxy.initializePipeline creates a new Interceptor chain and add it to its pipeline mapping. Then it initializes the chain and return. The problem is that when the chain initialization throws (e.g. because of configuration error, interceptor class not found etc.), the chain is not removed from AMRMProxy's pipeline mapping. > This patch also contains misc log message fixes in AMRMProxy. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org