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

Switch KMS from Tomcat to Jetty

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 3.0.0-alpha2
    • kms
    • None
    • Incompatible change, Reviewed
    • Hide
      <!-- markdown -->

      The following environment variables are deprecated. Set the corresponding
      configuration properties instead.

      Environment Variable | Configuration Property | Configuration File
      -------------------------|------------------------------|--------------------
      KMS_HTTP_PORT | hadoop.kms.http.port | kms-site.xml
      KMS_MAX_HTTP_HEADER_SIZE | hadoop.http.max.request.header.size and hadoop.http.max.response.header.size | kms-site.xml
      KMS_MAX_THREADS | hadoop.http.max.threads | kms-site.xml
      KMS_SSL_ENABLED | hadoop.kms.ssl.enabled | kms-site.xml
      KMS_SSL_KEYSTORE_FILE | ssl.server.keystore.location | ssl-server.xml
      KMS_SSL_KEYSTORE_PASS | ssl.server.keystore.password | ssl-server.xml
      KMS_TEMP | hadoop.http.temp.dir | kms-site.xml

      These default HTTP Services have been added.

      Name | Description
      -------------------|------------------------------------
      /conf | Display configuration properties
      /jmx | Java JMX management interface
      /logLevel | Get or set log level per class
      /logs | Display log files
      /stacks | Display JVM stacks
      /static/index.html | The static home page

      The JMX path has been changed from /kms/jmx to /jmx.

      Script kms.sh has been deprecated, use `hadoop kms` instead. The new scripts are based on the Hadoop shell scripting framework. `hadoop daemonlog` is supported. SSL configurations are read from ssl-server.xml.
      Show
      <!-- markdown --> The following environment variables are deprecated. Set the corresponding configuration properties instead. Environment Variable | Configuration Property | Configuration File -------------------------|------------------------------|-------------------- KMS_HTTP_PORT | hadoop.kms.http.port | kms-site.xml KMS_MAX_HTTP_HEADER_SIZE | hadoop.http.max.request.header.size and hadoop.http.max.response.header.size | kms-site.xml KMS_MAX_THREADS | hadoop.http.max.threads | kms-site.xml KMS_SSL_ENABLED | hadoop.kms.ssl.enabled | kms-site.xml KMS_SSL_KEYSTORE_FILE | ssl.server.keystore.location | ssl-server.xml KMS_SSL_KEYSTORE_PASS | ssl.server.keystore.password | ssl-server.xml KMS_TEMP | hadoop.http.temp.dir | kms-site.xml These default HTTP Services have been added. Name | Description -------------------|------------------------------------ /conf | Display configuration properties /jmx | Java JMX management interface /logLevel | Get or set log level per class /logs | Display log files /stacks | Display JVM stacks /static/index.html | The static home page The JMX path has been changed from /kms/jmx to /jmx. Script kms.sh has been deprecated, use `hadoop kms` instead. The new scripts are based on the Hadoop shell scripting framework. `hadoop daemonlog` is supported. SSL configurations are read from ssl-server.xml.

    Description

      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 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.

      Attachments

        1. HADOOP-13597.001.patch
          82 kB
          John Zhuge
        2. HADOOP-13597.002.patch
          97 kB
          John Zhuge
        3. HADOOP-13597.003.patch
          102 kB
          John Zhuge
        4. HADOOP-13597.004.patch
          107 kB
          John Zhuge
        5. HADOOP-13597.005.patch
          110 kB
          John Zhuge
        6. HADOOP-13597.006.patch
          115 kB
          John Zhuge
        7. HADOOP-13597.007.patch
          116 kB
          John Zhuge

        Issue Links

          Activity

            People

              jzhuge John Zhuge
              jzhuge John Zhuge
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: