hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Lu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-7600) Generalize HttpServer addServlet API
Date Thu, 01 Sep 2011 00:33:09 GMT
Generalize HttpServer addServlet API 

                 Key: HADOOP-7600
                 URL: https://issues.apache.org/jira/browse/HADOOP-7600
             Project: Hadoop Common
          Issue Type: Improvement
    Affects Versions: 0.23.0
            Reporter: Luke Lu
             Fix For: 0.23.0

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

The straight forward solution is add a more generalized addServlet API similar to the existing
addFilter API to accommodate the init parameters.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message