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

John Zhuge updated HDFS-10860:
------------------------------
    Attachment: HDFS-10860.001.patch

Patch 001
- Create {{HttpFSServerWebServer}} based on HttpServer2
- Share common code with HADOOP-13597
- Convert hadoop-hdfs-httpfs from war to jar
- Update httpfs-default.xml
- Add configuration keys
- Load deprecated environment variables and issue warning
- Add “hdfs httpfs” sub-command
- Change httpfs.sh to be a wrapper of “hdfs https”
- Fix MDCFilter NPE when browsing /conf, /logLevel, /jmx, or /stacks
- Obsolete {{httpfs.sh version}} that prints Tomcat version
- Obsolete HTTP admin port for Tomcat Manager

TESTING DONE
- hdfs dfs -ls webhdfs://localhost:14000/
- hdfs dfs -ls swebhdfs://localhost:14000/“ in SSL mode
- hdfs https, hdfs —daemon start|status|stop https
- httpfs.sh run|start|status|stop
- hadoop daemonlog
- HttpFS unit tests
- /jmx, /logLevel, /conf, /stack, /logs, and /static/index.html

TODO
- Update docs: ServerSetup.md.vm

TODO in new JIRAs:
- Switch unit tests to use HttpFSServerWebServer

My private branch: https://github.com/jzhuge/hadoop/tree/HDFS-10860.001

> 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
>
>
> 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
(v6.3.4#6332)

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

Reply via email to