[ 
https://issues.apache.org/jira/browse/HADOOP-3854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620313#action_12620313
 ] 

Doug Cutting commented on HADOOP-3854:
--------------------------------------

I don't see where this is limited to user-facing pages.

+        handler.addFilterPathMapping("*", filtername, Dispatcher.__ALL);

That looks like it adds it for every request.  Don't we need to add a mapping 
per daemon that restricts this to user-facing pages?  For example, the 
TaskTracker uses the same HTTP daemon for user-facing pages and for the 
shuffle.  Do we want to run these filters for shuffle requests?  I don't think 
so.

> org.apache.hadoop.http.HttpServer should support user configurable filter
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-3854
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3854
>             Project: Hadoop Core
>          Issue Type: New Feature
>            Reporter: Tsz Wo (Nicholas), SZE
>         Attachments: 3854_20080729.patch, 3854_20080730.patch, 
> 3854_20080805.patch, LoggingFilter.java, SampleInitializer.java
>
>
> Filters provide universal functions such as authentication, logging and 
> auditing, etc.  HttpServer should support configurable filters, so that 
> individual site administrators could possibly configure filters for their web 
> site.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to