Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7600

Generalize HttpServer addServlet API

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              vicaya Luke Lu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: