You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jakob Homan (JIRA)" <ji...@apache.org> on 2009/10/28 00:50:59 UTC

[jira] Updated: (HADOOP-6337) Update FilterInitializer class to be more visible and take a conf for further development

     [ https://issues.apache.org/jira/browse/HADOOP-6337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Homan updated HADOOP-6337:
--------------------------------

    Status: Patch Available  (was: Open)

submitting patch

> 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.