You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Thomas Graves (JIRA)" <ji...@apache.org> on 2012/08/15 23:27:38 UTC

[jira] [Created] (HDFS-3807) hadoop.http.filter.initializers not applied to webhdfs urls

Thomas Graves created HDFS-3807:
-----------------------------------

             Summary: hadoop.http.filter.initializers not applied to webhdfs urls
                 Key: HDFS-3807
                 URL: https://issues.apache.org/jira/browse/HDFS-3807
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: webhdfs
    Affects Versions: 0.23.3
            Reporter: Thomas Graves


I was messing with the http filters and noticed that they don't get applied when going to the webhdfs uri's.  This might also apply to the other internal namenode servlets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3807) hadoop.http.filter.initializers not applied to webhdfs urls

Posted by "Thomas Graves (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435715#comment-13435715 ] 

Thomas Graves commented on HDFS-3807:
-------------------------------------

I agree its very difficult to understand what is supposed to be with what.  If it was by design, then I propose this jira be converted to document what the filter.initializers config is supposed to apply to.  
                
> hadoop.http.filter.initializers not applied to webhdfs urls
> -----------------------------------------------------------
>
>                 Key: HDFS-3807
>                 URL: https://issues.apache.org/jira/browse/HDFS-3807
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 0.23.3
>            Reporter: Thomas Graves
>
> I was messing with the http filters and noticed that they don't get applied when going to the webhdfs uri's.  This might also apply to the other internal namenode servlets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3807) hadoop.http.filter.initializers not applied to webhdfs urls

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435560#comment-13435560 ] 

Alejandro Abdelnur commented on HDFS-3807:
------------------------------------------

If I'm not mistaken this is by design. AFAIK, user filters are meant web ui servlets/jsps, ie to add you own authentication mechanism. webhdfs/hftp/shuffle/fsimage/... servlets sure sure don't need that.

Said this, the HttpServer setup become a big spaghetti, and it is very difficult to figure out, given a servlet/jps, what filters is has. It would be nice to have something a bit more declarative where you can see the composition of filter(s)/servlets.
                
> hadoop.http.filter.initializers not applied to webhdfs urls
> -----------------------------------------------------------
>
>                 Key: HDFS-3807
>                 URL: https://issues.apache.org/jira/browse/HDFS-3807
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 0.23.3
>            Reporter: Thomas Graves
>
> I was messing with the http filters and noticed that they don't get applied when going to the webhdfs uri's.  This might also apply to the other internal namenode servlets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira