Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10860

Switch HttpFS from Tomcat to Jetty

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.6.0
    • 3.0.0-alpha4
    • httpfs
    • None
    • Incompatible change, Reviewed
    • Hide
      <!-- markdown -->

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

      Environment Variable | Configuration Property | Configuration File
      ----------------------------|------------------------------|--------------------
      HTTPFS_TEMP | hadoop.http.temp.dir | httpfs-site.xml
      HTTPFS_HTTP_PORT | hadoop.httpfs.http.port | httpfs-site.xml
      HTTPFS_MAX_HTTP_HEADER_SIZE | hadoop.http.max.request.header.size and hadoop.http.max.response.header.size | httpfs-site.xml
      HTTPFS_MAX_THREADS | hadoop.http.max.threads | httpfs-site.xml
      HTTPFS_SSL_ENABLED | hadoop.httpfs.ssl.enabled | httpfs-site.xml
      HTTPFS_SSL_KEYSTORE_FILE | ssl.server.keystore.location | ssl-server.xml
      HTTPFS_SSL_KEYSTORE_PASS | ssl.server.keystore.password | ssl-server.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

      Script httpfs.sh has been deprecated, use `hdfs httpfs` 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 ----------------------------|------------------------------|-------------------- HTTPFS_TEMP | hadoop.http.temp.dir | httpfs-site.xml HTTPFS_HTTP_PORT | hadoop.httpfs.http.port | httpfs-site.xml HTTPFS_MAX_HTTP_HEADER_SIZE | hadoop.http.max.request.header.size and hadoop.http.max.response.header.size | httpfs-site.xml HTTPFS_MAX_THREADS | hadoop.http.max.threads | httpfs-site.xml HTTPFS_SSL_ENABLED | hadoop.httpfs.ssl.enabled | httpfs-site.xml HTTPFS_SSL_KEYSTORE_FILE | ssl.server.keystore.location | ssl-server.xml HTTPFS_SSL_KEYSTORE_PASS | ssl.server.keystore.password | ssl-server.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 Script httpfs.sh has been deprecated, use `hdfs httpfs` 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 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.

      Attachments

        1. HDFS-10860.001.patch
          86 kB
          John Zhuge
        2. HDFS-10860.002.patch
          90 kB
          John Zhuge
        3. HDFS-10860.003.patch
          92 kB
          John Zhuge
        4. HDFS-10860.004.patch
          66 kB
          John Zhuge
        5. HDFS-10860.005.patch
          70 kB
          John Zhuge
        6. HDFS-10860.006.patch
          72 kB
          John Zhuge
        7. HDFS-10860.007.patch
          73 kB
          John Zhuge
        8. HDFS-10860.008.patch
          75 kB
          John Zhuge
        9. HDFS-10860.009.patch
          76 kB
          John Zhuge
        10. HDFS-10860.010.patch
          76 kB
          John Zhuge
        11. HDFS-10860.011.patch
          76 kB
          John Zhuge

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: