Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 534A0112B0 for ; Tue, 17 Jun 2014 19:39:07 +0000 (UTC) Received: (qmail 31821 invoked by uid 500); 17 Jun 2014 19:39:07 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 31774 invoked by uid 500); 17 Jun 2014 19:39:07 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 31763 invoked by uid 99); 17 Jun 2014 19:39:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2014 19:39:07 +0000 Date: Tue, 17 Jun 2014 19:39:06 +0000 (UTC) From: "Daryn Sharp (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-10703) Duplicate filter instances are created during HttpServer2 initialization 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/HADOOP-10703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034255#comment-14034255 ] Daryn Sharp commented on HADOOP-10703: -------------------------------------- I think it looks ok, but someone with more jetty knowledge should confirm there's no unexpected side-effects. > Duplicate filter instances are created during HttpServer2 initialization > ------------------------------------------------------------------------ > > Key: HADOOP-10703 > URL: https://issues.apache.org/jira/browse/HADOOP-10703 > Project: Hadoop Common > Issue Type: Bug > Components: security > Affects Versions: 2.4.0 > Reporter: Benoy Antony > Assignee: Benoy Antony > Attachments: HADOOP-10703.patch, multiple-authenticationfilter-inits.log > > > The HttpServer2.defineFilter creates a Filter instance for each context. By default, there are 3 contexts. > So there will be 3 separate AuthenticationFilter instances and corresponding AuthenticationHandler instances. This also results in 3 separate initializations of AuthenticationHandler. > The log file illustrating this repeated initialization is attached. -- This message was sent by Atlassian JIRA (v6.2#6252)