Skip to content

Instantly share code, notes, and snippets.

@crobby
Created June 9, 2017 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crobby/1fac1654cb9da7c167404c486daadbfd to your computer and use it in GitHub Desktop.
Save crobby/1fac1654cb9da7c167404c486daadbfd to your computer and use it in GitHub Desktop.
patch to update jetty
Index: pom.xml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- pom.xml (revision afab8557b069dff233bc187ddad46d071eeb6137)
+++ pom.xml (revision )
@@ -136,7 +136,7 @@
<derby.version>10.12.1.1</derby.version>
<parquet.version>1.8.1</parquet.version>
<hive.parquet.version>1.6.0</hive.parquet.version>
- <jetty.version>9.2.16.v20160414</jetty.version>
+ <jetty.version>9.3.20.v20170531</jetty.version>
<javaxservlet.version>3.1.0</javaxservlet.version>
<chill.version>0.8.0</chill.version>
<ivy.version>2.4.0</ivy.version>
Index: core/src/main/scala/org/apache/spark/ui/JettyUtils.scala
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- core/src/main/scala/org/apache/spark/ui/JettyUtils.scala (revision afab8557b069dff233bc187ddad46d071eeb6137)
+++ core/src/main/scala/org/apache/spark/ui/JettyUtils.scala (revision )
@@ -29,8 +29,8 @@
import org.eclipse.jetty.proxy.ProxyServlet
import org.eclipse.jetty.server.{HttpConnectionFactory, Request, Server, ServerConnector}
import org.eclipse.jetty.server.handler._
+import org.eclipse.jetty.server.handler.gzip.GzipHandler
import org.eclipse.jetty.servlet._
-import org.eclipse.jetty.servlets.gzip.GzipHandler
import org.eclipse.jetty.util.component.LifeCycle
import org.eclipse.jetty.util.thread.{QueuedThreadPool, ScheduledExecutorScheduler}
import org.json4s.JValue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment