Repository: incubator-livy Updated Branches: refs/heads/master d87a34872 -> a068363a0
[LIVY-526] Upgrade jetty version ## What changes were proposed in this pull request? Upgrade the jetty patch version to a more recent version that has fixes for a few security issues. ## How was this patch tested? Existing unit tests Author: Arun Mahadevan <ar...@apache.org> Closes #120 from arunmahadevan/jetty-upgrade. Project: http://git-wip-us.apache.org/repos/asf/incubator-livy/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-livy/commit/a068363a Tree: http://git-wip-us.apache.org/repos/asf/incubator-livy/tree/a068363a Diff: http://git-wip-us.apache.org/repos/asf/incubator-livy/diff/a068363a Branch: refs/heads/master Commit: a068363a0c097ab167e8fb6de1015930e71b4cb8 Parents: d87a348 Author: Arun Mahadevan <ar...@apache.org> Authored: Sat Oct 13 15:47:18 2018 +0800 Committer: jerryshao <jerrys...@tencent.com> Committed: Sat Oct 13 15:47:18 2018 +0800 ---------------------------------------------------------------------- .../scala/org/apache/livy/client/http/LivyConnectionSpec.scala | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-livy/blob/a068363a/client-http/src/test/scala/org/apache/livy/client/http/LivyConnectionSpec.scala ---------------------------------------------------------------------- diff --git a/client-http/src/test/scala/org/apache/livy/client/http/LivyConnectionSpec.scala b/client-http/src/test/scala/org/apache/livy/client/http/LivyConnectionSpec.scala index 110eb35..01db5d5 100644 --- a/client-http/src/test/scala/org/apache/livy/client/http/LivyConnectionSpec.scala +++ b/client-http/src/test/scala/org/apache/livy/client/http/LivyConnectionSpec.scala @@ -104,7 +104,7 @@ class LivyConnectionSpec extends FunSpecLike with BeforeAndAfterAll with LivyBas .set(LivyConf.RESPONSE_HEADER_SIZE, 1024) val pwd = "test-password" * 100 val exception = intercept[IOException](test(pwd, livyConf)) - exception.getMessage.contains("Request Entity Too Large") should be(true) + exception.getMessage.contains("Request Header Fields Too Large") should be(true) } it("should be succeeded with configured header size") { http://git-wip-us.apache.org/repos/asf/incubator-livy/blob/a068363a/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 32a6b89..d9adacb 100644 --- a/pom.xml +++ b/pom.xml @@ -89,7 +89,7 @@ <httpcore.version>4.4.4</httpcore.version> <jackson.version>2.9.5</jackson.version> <javax.servlet-api.version>3.1.0</javax.servlet-api.version> - <jetty.version>9.3.8.v20160314</jetty.version> + <jetty.version>9.3.24.v20180605</jetty.version> <json4s.version>3.2.11</json4s.version> <junit.version>4.11</junit.version> <libthrift.version>0.9.3</libthrift.version>