Currently, we are using Jetty version 9.2.16.v20160414.
However, Hadoop 3, uses 9.3.11.v20160721 (Jetty upgrade was brought in by
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] source/core/src/main/scala/org/apache/spark/ui/JettyUtils.scala:238: error: not found: type GzipHandler
[ERROR] val gzipHandler = new GzipHandler
[ERROR] two errors found
So, it'd be good to upgrade Jetty to get us closer to working with Hadoop 3.