Repository: hive Updated Branches: refs/heads/master 38f7a7f38 -> 610748287
HIVE-19421: Upgrade version of Jetty to 9.3.20.v20170531 (Janaki Lahorani, reviewed by Sahil Takiar) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/61074828 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/61074828 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/61074828 Branch: refs/heads/master Commit: 610748287846cbd26d0b7c8ccc414f8636fb6ba1 Parents: 38f7a7f Author: Janaki Lahorani <jan...@cloudera.com> Authored: Mon May 21 15:29:45 2018 -0500 Committer: Sahil Takiar <stak...@cloudera.com> Committed: Mon May 21 15:30:11 2018 -0500 ---------------------------------------------------------------------- .../src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java | 4 ++-- pom.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/61074828/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java ---------------------------------------------------------------------- diff --git a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java index f45fb50..f52338a 100644 --- a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java +++ b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java @@ -976,7 +976,7 @@ public class TestJdbcWithMiniHS2 { } } - // This should fail with given HTTP response code 413 in error message, since header is more + // This should fail with given HTTP response code 431 in error message, since header is more // than the configured the header size password = StringUtils.leftPad("*", 2000); Exception headerException = null; @@ -992,7 +992,7 @@ public class TestJdbcWithMiniHS2 { assertTrue("Header exception should be thrown", headerException != null); assertTrue("Incorrect HTTP Response:" + headerException.getMessage(), - headerException.getMessage().contains("HTTP Response code: 413")); + headerException.getMessage().contains("HTTP Response code: 431")); } // Stop HiveServer2 to increase header size http://git-wip-us.apache.org/repos/asf/hive/blob/61074828/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index ce3da37..df10c74 100644 --- a/pom.xml +++ b/pom.xml @@ -168,7 +168,7 @@ <javolution.version>5.5.1</javolution.version> <jdo-api.version>3.0.1</jdo-api.version> <jettison.version>1.1</jettison.version> - <jetty.version>9.3.8.v20160314</jetty.version> + <jetty.version>9.3.20.v20170531</jetty.version> <jersey.version>1.19</jersey.version> <!-- Glassfish jersey is included for Spark client test only --> <glassfish.jersey.version>2.22.2</glassfish.jersey.version>