Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.23.0
-
None
-
None
-
None
Description
HttpServer is a wrapper for servlet containers (JSR-154), which jetty is the current implementation. HADOOP-7594 violates the abstraction by adding an implementation specific method addJerseyResource which is tied to a specific JSR-311 implementation. The motivation for adding the method is probably due to a lack of generalized addServlet API a la addFilter which takes a map of init parameters.
The straight forward solution is add a more generalized addServlet API similar to the existing addFilter API to accommodate the init parameters.
Attachments
Issue Links
- is related to
-
HADOOP-7594 Support HTTP REST in HttpServer
- Closed