hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10860) Switch HttpFS from Tomcat to Jetty
Date Wed, 01 Feb 2017 07:27:51 GMT

    [ https://issues.apache.org/jira/browse/HDFS-10860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15848089#comment-15848089

John Zhuge commented on HDFS-10860:

{{HttpServer2#isInstrumentationAccessAllowed}} requires the following conditions to return
* hadoop.security.instrumentation.requires.admin set to true
* hadoop.security.authorization set to true
* remote user is not set or {{HttpServer2#setACL}} is called with an ACL that disallows the
remote user

Looks like we need another configuration property to set administrators for HttpFS server
instrumentation access, e.g., {{hadoop.httpfs.http.administrators}}, similar to {{dfs.cluster.administrators}}.

Will need to fix KMS to call {{HttpServer2#setACL}}. Also gotta make sure all users of {{HttpServer2}}
call {{setACL}}.

> Switch HttpFS from Tomcat to Jetty
> ----------------------------------
>                 Key: HDFS-10860
>                 URL: https://issues.apache.org/jira/browse/HDFS-10860
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: httpfs
>    Affects Versions: 2.6.0
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>         Attachments: HDFS-10860.001.patch, HDFS-10860.002.patch, HDFS-10860.003.patch,
HDFS-10860.004.patch, HDFS-10860.005.patch, HDFS-10860.006.patch, HDFS-10860.007.patch
> The Tomcat 6 we are using will reach EOL at the end of 2017. While there are other good
options, I would propose switching to {{Jetty 9}} for the following reasons:
> * Easier migration. Both Tomcat and Jetty are based on {{Servlet Containers}}, so we
don't have to change client code that much. It would require more work to switch to {{JAX-RS}}.
> * Well established.
> * Good performance and scalability.
> Other alternatives:
> * Jersey + Grizzly
> * Tomcat 8
> Your opinions will be greatly appreciated.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message