Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 76867 invoked from network); 28 Oct 2009 20:17:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Oct 2009 20:17:22 -0000 Received: (qmail 22776 invoked by uid 500); 28 Oct 2009 20:17:21 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 22719 invoked by uid 500); 28 Oct 2009 20:17:21 -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 22705 invoked by uid 99); 28 Oct 2009 20:17:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 20:17:21 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 20:17:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6D3F9234C046 for ; Wed, 28 Oct 2009 13:16:59 -0700 (PDT) Message-ID: <1325909367.1256761019446.JavaMail.jira@brutus> Date: Wed, 28 Oct 2009 20:16:59 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Updated: (HADOOP-6337) Update FilterInitializer class to be more visible and take a conf for further development In-Reply-To: <259446437.1256683739498.JavaMail.jira@brutus> 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-6337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HADOOP-6337: ------------------------------------------- Hadoop Flags: [Reviewed] +1 patch looks good. > Update FilterInitializer class to be more visible and take a conf for further development > ----------------------------------------------------------------------------------------- > > Key: HADOOP-6337 > URL: https://issues.apache.org/jira/browse/HADOOP-6337 > Project: Hadoop Common > Issue Type: New Feature > Reporter: Jakob Homan > Assignee: Jakob Homan > Fix For: 0.22.0 > > Attachments: HADOOP-6337.patch > > > Currently the FilterInitializer class, used to filter access to the Hadoop web interfaces, has its main method, initFilter, set to package private. This means that any classes wishing to implement this type must be in the same package. This should be public so FilterInitializers can reside in other packages. > Also, currently all parameters to the FilterInitializer must be provided at compile time (or via a different configuration method). It would be better if the FilterInitalizer::initFilter received a Configuration parameter so it can pull conf values out at run-time. Alternatively, the class could implement Configured, but that seems heavier than is needed at this point. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.