Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20514

Upgrade Jetty to 9.3.11.v20160721

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • Spark Core
    • None

    Description

      Currently, we are using Jetty version 9.2.16.v20160414.

      However, Hadoop 3, uses 9.3.11.v20160721 (Jetty upgrade was brought in by HADOOP-10075).

      Currently, when you try to build Spark with Hadoop 3, due to this incompatibilities in jetty versions used by Hadoop and Spark, compilation fails with:

      [ERROR] source/core/src/main/scala/org/apache/spark/ui/JettyUtils.scala:31: error: object gzip is not a member of package org.eclipse.jetty.servlets
      [ERROR] import org.eclipse.jetty.servlets.gzip.GzipHandler
      [ERROR]                                   ^
      [ERROR] source/core/src/main/scala/org/apache/spark/ui/JettyUtils.scala:238: error: not found: type GzipHandler
      [ERROR]       val gzipHandler = new GzipHandler
      [ERROR]                             ^
      [ERROR] two errors found
      

      So, it'd be good to upgrade Jetty to get us closer to working with Hadoop 3.

      Attachments

        Activity

          People

            mgrover Mark Grover
            mgrover Mark Grover
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: