Repository: hive Updated Branches: refs/heads/branch-3 57a177be1 -> d9744b549
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/d9744b54 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/d9744b54 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/d9744b54 Branch: refs/heads/branch-3 Commit: d9744b549faa80016a5e36ac52db2dde3e356ff7 Parents: 57a177b Author: Janaki Lahorani <jan...@cloudera.com> Authored: Mon May 21 15:29:45 2018 -0500 Committer: Prasanth Jayachandran <prasan...@apache.org> Committed: Tue Jun 5 09:37:44 2018 -0700 ---------------------------------------------------------------------- .../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/d9744b54/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 1795f15..d7d7097 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 @@ -979,7 +979,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; @@ -995,7 +995,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/d9744b54/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 5b584d7..d6f1e9e 100644 --- a/pom.xml +++ b/pom.xml @@ -171,7 +171,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>