commit 1a1d0f1205fb4ed797739dacb3c6781982f7bd7c Author: Janaki Lahorani Date: Fri May 4 08:52:57 2018 -0700 HIVE-19421: Update jetty version. Change-Id: I8ac6a846d07963887b283ada0e3dad30b9b78cf7 diff --git itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java index f45fb5078f04fc79d2ce0de798e29878473e2821..f52338a24b7f7d637db8820f0acfa49fb7fdbdf2 100644 --- itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java +++ itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java @@ -976,7 +976,7 @@ public void testHttpHeaderSize() throws Exception { } } - // 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 void testHttpHeaderSize() throws Exception { 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 diff --git pom.xml pom.xml index ce3da37d2b4a33819fe62c32589c417ad5dd17fd..df10c7444f153a8b884eccd5ef6287d1a1f278ad 100644 --- pom.xml +++ pom.xml @@ -168,7 +168,7 @@ 5.5.1 3.0.1 1.1 - 9.3.8.v20160314 + 9.3.20.v20170531 1.19 2.22.2